Skip to content

tests: for --optimization-mangle-exports & --optimization-used-exports#1729

Closed
snitin315 wants to merge 1 commit into
nextfrom
fix/webpack-5-tests
Closed

tests: for --optimization-mangle-exports & --optimization-used-exports#1729
snitin315 wants to merge 1 commit into
nextfrom
fix/webpack-5-tests

Conversation

@snitin315

@snitin315 snitin315 commented Aug 3, 2020

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?
tests, fix

Did you add tests for your changes?
yes
If relevant, did you update the documentation?
NA
Summary
with the new release of webpack 5 new flags --optimization-mangle-exports & --optimization-used-exports are supported now. handling test cases for the same.

Does this PR introduce a breaking change?
No

Other information

@anshumanv

Copy link
Copy Markdown
Contributor

@evilebottnawi do we need test with mangleExports in config as raised in #1677? If not we can close the config PR.

@alexander-akait

Copy link
Copy Markdown
Member

@anshumanv more tests are better

@anshumanv

Copy link
Copy Markdown
Contributor

Okay, will keep it open, edited your comment @snitin315

@alexander-akait

Copy link
Copy Markdown
Member

Please regenerate lock file

@anshumanv

Copy link
Copy Markdown
Contributor

Cant regenerate because we're on webpack latest, for next it's only generated while installing in CI. Hence when webpack releases with updated terser rerunning in all PRs will fix. /cc @snitin315

@alexander-akait

Copy link
Copy Markdown
Member

@anshumanv Can you try to do it?

@anshumanv

Copy link
Copy Markdown
Contributor

Closing in favour of #1732

@anshumanv anshumanv closed this Aug 4, 2020
@anshumanv
anshumanv deleted the fix/webpack-5-tests branch August 4, 2020 16:11
@anshumanv

Copy link
Copy Markdown
Contributor

@snitin315 quick question, what's the approach you followed to trace this back? Just curious

@snitin315

Copy link
Copy Markdown
Member Author

Theese flags or the terser warning?

@anshumanv

Copy link
Copy Markdown
Contributor

terser warning

@snitin315

Copy link
Copy Markdown
Member Author

webpack --node-args --trace-depriciation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants