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

map file names do not honor the [hash] #28

Open
LivesleyWA opened this issue Jan 23, 2020 · 1 comment
Open

map file names do not honor the [hash] #28

LivesleyWA opened this issue Jan 23, 2020 · 1 comment

Comments

@LivesleyWA
Copy link

LivesleyWA commented Jan 23, 2020

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

@a1pack
Copy link

a1pack commented Feb 3, 2020

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.

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

No branches or pull requests

2 participants