File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
@tunnckocore/babel-preset/src Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ module.exports = helpers.declare((api, options) => {
14
14
modules : 'commonjs' ,
15
15
include : [ ] ,
16
16
exclude : [
17
- '@babel/plugin-transform-runtime' ,
18
17
'@babel/plugin-transform-regenerator' ,
19
18
'@babel/plugin-transform-async-to-generator' ,
20
19
] ,
@@ -47,10 +46,7 @@ module.exports = helpers.declare((api, options) => {
47
46
} ;
48
47
}
49
48
50
- const plugins = [
51
- '@babel/plugin-syntax-import-meta' ,
52
- [ 'babel-plugin-add-module-exports' , { addDefaultProperty : true } ] ,
53
- ] ;
49
+ const plugins = [ '@babel/plugin-syntax-import-meta' ] ;
54
50
const presets = [ [ require ( '@babel/preset-env' ) , environmentOptions ] ] ;
55
51
56
52
if ( opts . typescript ) {
@@ -83,8 +79,6 @@ module.exports = helpers.declare((api, options) => {
83
79
return {
84
80
plugins,
85
81
presets,
86
- include : opts . include ,
87
- exclude : opts . exclude ,
88
82
overrides : opts . isTSX
89
83
? undefined
90
84
: [
You can’t perform that action at this time.
0 commit comments