Skip to content

allow additionalData to be async#391

Merged
alexander-akait merged 1 commit into
webpack:masterfrom
brandonbloom:patch-1
Nov 10, 2020
Merged

allow additionalData to be async#391
alexander-akait merged 1 commit into
webpack:masterfrom
brandonbloom:patch-1

Conversation

@brandonbloom

Copy link
Copy Markdown
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

jsf-clabot commented Nov 9, 2020

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov

codecov Bot commented Nov 9, 2020

Copy link
Copy Markdown

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
Copy Markdown
Member

Please accept CLA

@brandonbloom

Copy link
Copy Markdown
Contributor Author

Signed

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

Copy link
Copy Markdown
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

3 participants