How to extract css file whose name is not hash #157
-
I want to extract a css file whose name is not hash. |
Beta Was this translation helpful? Give feedback.
Answered by
wilkinsonjack1993
Dec 23, 2020
Replies: 1 comment
-
Hi @iWun, I just ran into this problem. You need to set the
By default, I think it is "[name]-[hash][extname]", which is why you get the hash at the end of the filename. N.B. This will increase the chances of name clash in your file output. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Anidetrix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @iWun,
I just ran into this problem. You need to set the
assetFileNames
property in the rollup config output:By default, I think it is "[name]-[hash][extname]", which is why you get the hash at the end of the filename. N.B. This will increase the chances of name clash in your file output.