Skip to content

Conversation

Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Apr 12, 2018

This PR closes #231 by detecting if Encore was called with the --profile option and using the default stats Webpack option in that case.

@weaverryan
Copy link
Member

Nice work :). Thank you @Lyrkan!

@weaverryan weaverryan merged commit fe97991 into symfony:master Apr 12, 2018
weaverryan added a commit that referenced this pull request Apr 12, 2018
This PR was merged into the master branch.

Discussion
----------

Use default stats output when called with --profile

This PR closes #231 by detecting if Encore was called with the `--profile` option and using the default `stats` Webpack option in that case.

Commits
-------

fe97991 Use default stats output when called with --profile
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.

How to use webpack --profile option in symfony-encore

2 participants