Open LivesleyWA opened 4 years ago
Actually this works for me with some workaround(s). I am using entryFileNames instead of file and generating file name on my own (hashing content of css) in rollup-plugin-svelte css callback.
But it is still broken for me in postcss plugin and I think it is not related to rollup-plugin-bundle-html. More likely it is a rollup bug.
I included the [hash] setting in the js and css file names. The *.js and *.css files have the hash replaced. The *.js.map and *.css.map files do not.
I also attach a typescript definition file if you find it helpful.
Archive.zip
node v12.14.0 osx 10.15.2