webpack-to-vite icon indicating copy to clipboard operation
webpack-to-vite copied to clipboard

Configuration for entry filename and chunk filename

Open konpeki622 opened this issue 3 years ago • 0 comments

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.

konpeki622 avatar Jan 22 '22 09:01 konpeki622