split bundle.js by each page #163
Unanswered
tentree-development
asked this question in
Q&A
Replies: 2 comments 2 replies
-
webpack.common.js
.gitignore
file.liquid
|
Beta Was this translation helpful? Give feedback.
2 replies
-
To work on a more dynamic basis something like this would work (file paths may need changing)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone try to split components by page like home page, collection page, product page? If so can you share your webpack.config.js setting or if you can forward me to the article that would be great! Currently my bundle.js becomes 400kb so hope to split by page
Beta Was this translation helpful? Give feedback.
All reactions