File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ export function transform(filename: string, options?: TransformHandleOptions): P
37
37
sourceFileName,
38
38
plugins : [
39
39
require ( '@babel/plugin-syntax-dynamic-import' ) . default ,
40
- // require('babel-plugin-add-module-exports'),
41
40
require ( 'babel-plugin-transform-typescript-metadata' ) . default ,
42
41
/**
43
42
* Use the legacy (stage 1) decorators syntax and behavior.
@@ -80,6 +79,7 @@ export function transform(filename: string, options?: TransformHandleOptions): P
80
79
( transformRuntime as any ) . useESModules = ! semver . gte ( runtimeVersion , '7.13.0' ) ;
81
80
}
82
81
babelOptions . plugins . push ( require ( '@babel/plugin-transform-modules-commonjs' ) . default ) ;
82
+ babelOptions . plugins . push ( require ( 'babel-plugin-add-module-exports' ) ) ;
83
83
babelOptions . plugins . push ( [ require ( '@babel/plugin-transform-runtime' ) . default , transformRuntime ] ) ;
84
84
babelOptions . plugins . push ( [
85
85
require ( 'babel-plugin-transform-remove-imports' ) . default ,
You can’t perform that action at this time.
0 commit comments