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

Add [chunkhash] to the output filename when emitting css assets #3604

Closed
wants to merge 1 commit into from

Conversation

moretti
Copy link

@moretti moretti commented Jan 19, 2018

Add [chunkhash] to the css output filename, just like for JavaScript assets:

case `build-javascript`:
return {
filename: `[name]-[chunkhash].js`,

for predictable long term caching.

@gatsbybot
Copy link
Collaborator

Deploy preview for gatsbygram ready!

Built with commit 675a90d

https://deploy-preview-3604--gatsbygram.netlify.com

@moretti
Copy link
Author

moretti commented Jan 19, 2018

Oops, I actually didn't realize that CSS are included in the HTML page, closing this.

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

Successfully merging this pull request may close these issues.

2 participants