filename [contenthash] only . not adding to index.html
meghe2000 opened this issue · 4 comments
meghe2000 commented
jantimon commented
right now only .js
files are injected automatically
meghe2000 commented
right now only
.js
files are injected automatically
Do you have a solution for this personalization?
lestephane commented
@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.
alexander-akait commented
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