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)
16
16
const outputDir = path . join ( __dirname , 'dist' )
17
17
18
18
export interface BuildOptions {
19
- format : 'cjs' | 'umd' | ' esm'
19
+ format : 'cjs' | 'esm'
20
20
name :
21
21
| 'development'
22
22
| 'production.min'
23
23
| 'legacy-esm'
24
24
| 'modern'
25
- | 'modern.development'
26
- | 'modern.production.min'
25
+ | 'browser'
27
26
| 'umd'
28
27
| 'umd.min'
29
28
minify : boolean
@@ -78,18 +77,10 @@ const buildTargets: BuildOptions[] = [
78
77
minify : false ,
79
78
env : '' ,
80
79
} ,
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
- } ,
89
80
// ESM, pre-compiled "prod": browser prod
90
81
{
91
82
format : 'esm' ,
92
- name : 'modern.production.min ' ,
83
+ name : 'browser ' ,
93
84
target : 'esnext' ,
94
85
minify : true ,
95
86
env : 'production' ,
You can’t perform that action at this time.
0 commit comments