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) => {
1414 modules : 'commonjs' ,
1515 include : [ ] ,
1616 exclude : [
17- '@babel/plugin-transform-runtime' ,
1817 '@babel/plugin-transform-regenerator' ,
1918 '@babel/plugin-transform-async-to-generator' ,
2019 ] ,
@@ -47,10 +46,7 @@ module.exports = helpers.declare((api, options) => {
4746 } ;
4847 }
4948
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' ] ;
5450 const presets = [ [ require ( '@babel/preset-env' ) , environmentOptions ] ] ;
5551
5652 if ( opts . typescript ) {
@@ -83,8 +79,6 @@ module.exports = helpers.declare((api, options) => {
8379 return {
8480 plugins,
8581 presets,
86- include : opts . include ,
87- exclude : opts . exclude ,
8882 overrides : opts . isTSX
8983 ? undefined
9084 : [
You can’t perform that action at this time.
0 commit comments