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

Chunking assets by route #1

Open
chadfurman opened this issue Sep 24, 2017 · 0 comments
Open

Chunking assets by route #1

chadfurman opened this issue Sep 24, 2017 · 0 comments

Comments

@chadfurman
Copy link
Owner

Some work is done already in the webpack config, but more is needed.

https://webpack.js.org/guides/code-splitting/

https://gist.github.com/bcallaars/67044de1675c677c0babc0665c50e661

basically the chunk.js file is the loader
and wait until the chunk is loaded and then displays it
but you define in the routeOne that it is a webpack chunk

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

No branches or pull requests

1 participant