Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow additionalData to be async #391

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

brandonbloom
Copy link
Contributor

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

This allows the result of additionalData to be a Promise.

This is especially useful if you want to use loaderContext.resolve to get additional data through the standard webpack mechanisms.

Breaking Changes

none

Additional Info

n/a

This is especially useful if you want to use `loaderContext.resolve` to get additional data through the standard webpack mechanisms.
@jsf-clabot
Copy link

jsf-clabot commented Nov 9, 2020

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Nov 9, 2020

Codecov Report

Merging #391 (6ba6c84) into master (b32d7e7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #391   +/-   ##
=======================================
  Coverage   97.41%   97.41%           
=======================================
  Files           4        4           
  Lines         116      116           
  Branches       25       25           
=======================================
  Hits          113      113           
  Misses          3        3           
Impacted Files Coverage Δ
src/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b32d7e7...6ba6c84. Read the comment docs.

@alexander-akait
Copy link
Member

Please accept CLA

@brandonbloom
Copy link
Contributor Author

Signed

@alexander-akait alexander-akait merged commit 62c6934 into webpack-contrib:master Nov 10, 2020
@alexander-akait
Copy link
Member

Release will be tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants