Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove only optimizations that would result in multiple bundles #42

Merged

Conversation

BuckyMaler
Copy link
Contributor

@BuckyMaler BuckyMaler commented Dec 10, 2018

There are four webpack optimizations specified in Angular CLI v6 and v7. Those optimizations are noEmitOnErrors, minimizer, runtimeChunk, and splitChunks. Of those, only runtimeChunk and splitChunks would produce multiple bundles. Therefore, only those optimizations should be removed. Webpack will provide default optimizations when mode: production is specified, which it is by Angular CLI, but the defaults aren't equivalent to the Angular CLI.

Fixes #40

@manfredsteyer manfredsteyer merged commit 7707f02 into manfredsteyer:master Dec 30, 2018
@manfredsteyer
Copy link
Owner

Thx!

manfredsteyer added a commit that referenced this pull request Dec 30, 2018
@BuckyMaler BuckyMaler deleted the remove-specific-optimizations branch May 11, 2019 03:16
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.

2 participants