Skip to content

Commit 797f8db

Browse files
committed
Revert output filenames
1 parent ac3551b commit 797f8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.dist.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
lib: {
1919
entry: './src/lib/index.js',
2020
name: 'window',
21-
fileName: (format) => `index.${format === 'umd' ? 'umd.cjs' : 'es.js'}`
21+
fileName: (format) => `index.${format}.js`
2222
},
2323
rollupOptions: {
2424
output: {

0 commit comments

Comments
 (0)