Replies: 1 comment
-
If rollup/rollup#4858 were implemented, you would be able to use that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"Currently, the naming convention for the CSS files generated in a multi-page application is 'index-[hash].css.' If we remove the hash by configuring it through 'vite.config.js' under 'build.rollupOptions.output,' the final convention becomes 'index.css,' 'index2.css,' 'index3.css,' and so on, using numerical identifiers to differentiate between different file names.
In essence, the CSS file names are all 'index,' but with the addition of a hash or numerical sequence for distinction.
My request is whether there is currently a configuration option to use the page names from the multi-page setup as part of the CSS file names. If this feature is not currently available, could it be considered for implementation?"
online demo: https://stackblitz.com/edit/vitejs-vite-eckmlg?file=vite.config.js
Beta Was this translation helpful? Give feedback.
All reactions