Skip to content

fix: use webpack.sources when it's available#301

Merged
alexander-akait merged 2 commits intowebpack:masterfrom
timneutkens:use-built-in-webpack-sources
Aug 20, 2020
Merged

fix: use webpack.sources when it's available#301
alexander-akait merged 2 commits intowebpack:masterfrom
timneutkens:use-built-in-webpack-sources

Conversation

@timneutkens
Copy link
Copy Markdown
Contributor

@timneutkens timneutkens commented Aug 20, 2020

This PR contains a:

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

Motivation / Use-Case

https://github.com/webpack/webpack/releases/tag/v5.0.0-beta.27

We ran into this issue with the latest serializer so @sokra exposed the webpack-sources classes on the sources property in webpack itself

Breaking Changes

Not breaking

Additional Info

@alexander-akait
Copy link
Copy Markdown
Member

Tests are broken

@timneutkens
Copy link
Copy Markdown
Contributor Author

Tests are broken

Seems like this is caused by a newer version of webpack being used and not really by this PR.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 20, 2020

Codecov Report

Merging #301 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
+ Coverage   94.53%   94.55%   +0.01%     
==========================================
  Files           5        5              
  Lines         366      367       +1     
  Branches      143      144       +1     
==========================================
+ Hits          346      347       +1     
  Misses         19       19              
  Partials        1        1              
Impacted Files Coverage Δ
src/index.js 96.06% <100.00%> (+0.01%) ⬆️

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 9487f3a...ba14c60. Read the comment docs.

@alexander-akait alexander-akait merged commit 9d861d8 into webpack:master Aug 20, 2020
@alexander-akait
Copy link
Copy Markdown
Member

Thanks!

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