Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

refactor: Update deprecated chunk.modules functions #553

Merged
merged 2 commits into from Jul 7, 2017

Conversation

joshwiens
Copy link
Member

@joshwiens joshwiens commented Jun 24, 2017

Replaces remaining usage of the deprecated chunk.modules functions

Closes #548

@codecov
Copy link

codecov bot commented Jun 24, 2017

Codecov Report

Merging #553 into feature/webpack3 will increase coverage by 0.37%.
The diff coverage is 100%.

Impacted file tree graph

@@                 Coverage Diff                  @@
##           feature/webpack3     #553      +/-   ##
====================================================
+ Coverage             87.37%   87.74%   +0.37%     
====================================================
  Files                     7        7              
  Lines                   301      302       +1     
  Branches                 68       68              
====================================================
+ Hits                    263      265       +2     
+ Misses                   36       35       -1     
  Partials                  2        2
Impacted Files Coverage Δ
src/index.js 89.7% <100%> (+0.07%) ⬆️
src/loader.js 90.32% <0%> (+1.61%) ⬆️

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 10721f5...1ec14f2. Read the comment docs.

@CGastrell
Copy link

Is there a date for this merge? I really need this :shipit:

@joshwiens
Copy link
Member Author

@CGastrell - See my comment in the associated issue.

@CGastrell
Copy link

Thank you, I really appreciate all the effort (and taking the time to reply).

* corrected order for chunk.modules loop

* added regression test for #548

* upgraded to latest webpack version 3.1.0 which includes needed Chunk.sortModules method

* applied change to new location of index.js
@joshwiens joshwiens changed the title [WIP] fix: CSS Generated in wrong order refactor: Update deprecated chunk.modules functions Jul 7, 2017
  BREAKING CHANGE: Updates to `Chunk.mapModules | forEachModule | getNumberOfModules`. This release is not backwards compatible with `Webpack 2.x` due to breaking changes in webpack/webpack#4764
@joshwiens joshwiens merged commit be7936d into feature/webpack3 Jul 7, 2017
@joshwiens joshwiens deleted the d3viant0ne-FixCssOrder branch July 7, 2017 05:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants