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

For some reason [chunkhash] is not replaced for css files #24

Open
smashercosmo opened this issue Jul 24, 2019 · 2 comments
Open

For some reason [chunkhash] is not replaced for css files #24

smashercosmo opened this issue Jul 24, 2019 · 2 comments
Labels
needs more info question Further information is requested

Comments

@smashercosmo
Copy link

For some reason [chunkhash] is not replaced for css files. And that causes this issue for me #17

Screen Shot 2019-07-24 at 15 38 56

@developit
Copy link
Collaborator

@smashercosmo Need a bit more info to debug this - how are you generating the CSS files? If you're using a plugin like extract-text-plugin or mini-css-extract-plugin, can you paste the plugin options you're using?

Also it'd be helpful to know if you have any output options set in your webpack configuration.

Cheers.

@developit developit added the question Further information is requested label Aug 14, 2019
@kuldeepkeshwar
Copy link
Contributor

@developit This happens because stripHash fails the regex check for css files as it uses top level output.filename/output.chunkFilename and mini-css-extract-plugin defines it's own filenameTemplate (check here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants