webpack-to-vite
webpack-to-vite copied to clipboard
Configuration for entry filename and chunk filename
Is your feature request related to a problem? Please describe.
There is no transformer for entry filename and chunk filename, which is always used in webpack configuration.
Describe the solution you'd like
After converting, the entry filename and chunk filename could be configured in vite.config.js
.
Describe alternatives you've considered
-
output.filename
->build.rollupOptions.output.entryFileNames
-
output.chunkFilename
->build.rollupOptions.output.chunkFileNames
Additional context
I added it in PR #86 . But it is ineffective when the filename was configured with environment variables.