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

Document better publicPath need for code splitting #309

Closed
fjsj opened this issue Dec 24, 2021 · 1 comment
Closed

Document better publicPath need for code splitting #309

fjsj opened this issue Dec 24, 2021 · 1 comment
Assignees

Comments

@fjsj
Copy link
Member

fjsj commented Dec 24, 2021

We need to document better that publicPath should be used when using code splitting. Right now this is only documented as a comment in the code splitting example. We need to explain that setting publicPath to STATIC_URL is needed because that's the only case where webpack needs to know about STATIC_URL.

When people need to integrate publicPath with the S3 assets path when using Django for collectstatic, they get confused by that: #287

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

2 participants