Closed nonzzz closed 1 year ago
Vite set multiple output should be support. see #26. If user pass the rollupOptions. the preset outDir won't be work. So what about passing in multiple outputs?
rollupOptions
outDir
export default defineConfig({ build: { rollupOptions: { output: [{ dir: 'es' }, { dir: 'cjs' }] } }, })
Feature request 🚀
Expected:
Vite set multiple output should be support. see #26. If user pass the
rollupOptions
. the presetoutDir
won't be work. So what about passing in multiple outputs?Examples: