Closed WearyMonkey closed 5 years ago
Merging #369 into master will increase coverage by
0.01%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #369 +/- ##
=========================================
+ Coverage 97.69% 97.7% +0.01%
=========================================
Files 5 5
Lines 260 262 +2
Branches 102 103 +1
=========================================
+ Hits 254 256 +2
Misses 6 6
Impacted Files | Coverage Δ | |
---|---|---|
src/index.js | 96.45% <100%> (+0.05%) |
:arrow_up: |
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 bf36e21...013ffd4. Read the comment docs.
/cc @michael-ciniawsky what do you think?
@evilebottnawi renamed to chunkFilter
also it should be before .filter(ModuleFilenameHelpers.matchObject.bind(null, this.options)), not first
Didn't understand this sorry. Can you provide a code snippet? I thought the chunk filter should go before the chunk file accumulator.
@evilebottnawi @michael-ciniawsky any thoughts?
@WearyMonkey Please read my review above and fix problem
@evilebottnawi I'm only seeing:
Better name for option/function chunkFilter
I renamed chunkTest
to chunkFilter
as you suggested.
also it should be before .filter(ModuleFilenameHelpers.matchObject.bind(null, this.options)), not first
Didn't understand this sorry. Can you provide a code snippet? I thought the chunk filter should go before the chunk file accumulator.
Am I missing something else? I think you commented during the github downtime so maybe something was lost.
@evilebottnawi as far as I can tell I've responded to all your feedback. Am I missing something?
Need fix test on windows
/cc @WearyMonkey can you update snapshots, looks something wrong with cache on appveyor
side
@evilebottnawi I've updated the snapshots on my mac, and tests are passing. Do I need to update them on Windows as well?
@WearyMonkey will be great :+1:
@evilebottnawi I ran npm test -- -u
on windows, and seems to of touched all the snapshots, and the CI is still failing.
Not sure where to go from here?
Close in favor https://github.com/webpack-contrib/uglifyjs-webpack-plugin/pull/382, anyway thanks for the PR and helping to use do webpack
better
Adds a chunkTest option to filter chunks.
This PR contains a:
Motivation / Use-Case
The existing test/include/exclude options are not useful when the filenames are generated at buildtime, e.g.
Breaking Changes
Additional Info
Related to: https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/21