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

how to set CommonsChunkPlugin in next.config.js #1635

Closed
Wolke opened this issue Apr 6, 2017 · 2 comments
Closed

how to set CommonsChunkPlugin in next.config.js #1635

Wolke opened this issue Apr 6, 2017 · 2 comments

Comments

@Wolke
Copy link

Wolke commented Apr 6, 2017

as title
how?
because we have lots of pages should be have common.js and different bundle.js like a.js b.js
thx a lot!

@sergiodxa
Copy link
Contributor

@arunoda
Copy link
Contributor

arunoda commented Apr 6, 2017

In order to move modules to the common chunk, you need to use that module on all pages.

@arunoda arunoda closed this as completed Apr 6, 2017
@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants