-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
[js] version js file names using webpack chunkhash #2951
Conversation
3b6e09d
to
f8b4c96
Compare
Very nice. Happy to see this! LGTM |
52328fb
to
9412978
Compare
* get compiled js file names * make manifest available as template var * use script src directly to avoid flash of unstyled content in the case of csstheme.js * linting * attempt to fix tests * exception * print the path when no manifest file found * handle case when manifest.json is not present for some reason, or in the case of tests
In dev mode, the
|
I don't have this problem in dev mode. It was an issue inn the master branch for a little while recently but it's fixed now. Can you rebase? |
@mistercrunch Thanks for your reply. It works. Great job. |
this pr introduces automatic js filename versioning so we don't have to rely on updating the package.json version to make sure changed js files get their cache busted.
@mistercrunch @graceguo-supercat