We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3551b commit 797f8dbCopy full SHA for 797f8db
vite.dist.config.js
@@ -18,7 +18,7 @@ export default defineConfig({
18
lib: {
19
entry: './src/lib/index.js',
20
name: 'window',
21
- fileName: (format) => `index.${format === 'umd' ? 'umd.cjs' : 'es.js'}`
+ fileName: (format) => `index.${format}.js`
22
},
23
rollupOptions: {
24
output: {
0 commit comments