You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to output two separate .html files based on my input; The first is the default index.html file, the second is a html file containing only the script tags so that I can import that file from a legacy website. Rollup's config can be an array containing multiple inputs/outputs, which is what I need, ref https://rollupjs.org/guide/en/#configuration-files
You can't because vite build runs a single Rollup build. If you want multiple builds, have multiple vite config files and run vite build -c different.config.js
Is your feature request related to a problem? Please describe.
I need to output two separate .html files based on my input; The first is the default index.html file, the second is a html file containing only the script tags so that I can import that file from a legacy website. Rollup's config can be an array containing multiple inputs/outputs, which is what I need, ref https://rollupjs.org/guide/en/#configuration-files
example config
The text was updated successfully, but these errors were encountered: