-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
filename [contenthash] only . not adding to index.html #1739
Comments
right now only |
Do you have a solution for this personalization? |
@meghe2000 Did you find a solution? I also need this for atomic deployments to CloudFront. The hashed index html filename can be used as DefaultRootObject once every assets in a website has been s3 sync-ed. |
The problem is here filename: '[name].[contenthash]', after generation files don't have .js, so html-webpack-plugin can't undestand is it JS or another file and so doesn't inject script tags |
hi , It works well when I use ( filename: '.[contenthash].js' )
But when I write like this, it is not added to the index.html ( filename: '.[contenthash]' )
I want to use without the (.js)
The text was updated successfully, but these errors were encountered: