File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,13 @@ const __dirname = path.dirname(__filename)
1616const outputDir = path . join ( __dirname , 'dist' )
1717
1818export interface BuildOptions {
19- format : 'cjs' | 'umd' | ' esm'
19+ format : 'cjs' | 'esm'
2020 name :
2121 | 'development'
2222 | 'production.min'
2323 | 'legacy-esm'
2424 | 'modern'
25- | 'modern.development'
26- | 'modern.production.min'
25+ | 'browser'
2726 | 'umd'
2827 | 'umd.min'
2928 minify : boolean
@@ -78,18 +77,10 @@ const buildTargets: BuildOptions[] = [
7877 minify : false ,
7978 env : '' ,
8079 } ,
81- // ESM, pre-compiled "dev": browser development
82- {
83- format : 'esm' ,
84- name : 'modern.development' ,
85- target : 'esnext' ,
86- minify : false ,
87- env : 'development' ,
88- } ,
8980 // ESM, pre-compiled "prod": browser prod
9081 {
9182 format : 'esm' ,
92- name : 'modern.production.min ' ,
83+ name : 'browser ' ,
9384 target : 'esnext' ,
9485 minify : true ,
9586 env : 'production' ,
You can’t perform that action at this time.
0 commit comments