Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

feat(@angular-devkit/build-optimizer): support webpack side effects flag - #531

Merged
filipesilva merged 1 commit into
angular:masterfrom
clydin:side-effects
Mar 19, 2018
Merged

filipesilva merged 1 commit into
angular:masterfrom
clydin:side-effects

Conversation

@clydin

@clydin clydin commented Mar 19, 2018

Copy link
Copy Markdown
Member

No description provided.

@filipesilva filipesilva left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to either add a defensive option here, or completely move the peer dep to Webpack 4 and remove the path regexes. The second option also makes it only work for Angular 6+ though.

@clydin

clydin commented Mar 19, 2018 •

Copy link
Copy Markdown
Member Author

Updated to now work on older versions of webpack and fallback to the whitelist.

@filipesilva
filipesilva merged commit 5d0129a into angular:master Mar 19, 2018
@clydin
clydin deleted the side-effects branch March 19, 2018 18:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants