Skip to content

Commit 425cd31

Browse files
committed
chore: update main bundler config
1 parent 30148af commit 425cd31

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bundler.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,19 @@ export default defineConfig({
55
{ input: './src/index.ts' },
66
{ input: './src/index.ts', output: './dist/index.min.mjs', minify: true },
77
{ dts: './src/types.ts', output: './dist/index.d.mts' },
8+
{
9+
input: './src/index.ts',
10+
output: './dist/index.iife.js',
11+
name: 'Frame',
12+
format: 'iife',
13+
minify: true,
14+
},
15+
{
16+
input: './src/index.ts',
17+
output: './dist/index.umd.js',
18+
name: 'Frame',
19+
format: 'umd',
20+
minify: true,
21+
},
822
],
923
})

0 commit comments

Comments
 (0)