File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
// in webpack you need to add -> resolve: { alias: { '@src': PATH_TO_SRC } }
15
15
},
16
16
" outDir" : " dist/" , // target for compiled files
17
- " allowSyntheticDefaultImports" : true , // no errors on commonjs default import
17
+ " allowSyntheticDefaultImports" : true , // no errors with commonjs modules interop
18
+ " esModuleInterop" : true ,
18
19
" allowJs" : true , // include js files
19
20
" checkJs" : true , // typecheck js files
20
21
" declaration" : false , // don't emit declarations
Original file line number Diff line number Diff line change 7
7
// in webpack you need to add -> resolve: { alias: { '@src': PATH_TO_SRC } }
8
8
},
9
9
"outDir" : " dist/" , // target for compiled files
10
- "allowSyntheticDefaultImports" : true , // no errors on commonjs default import
10
+ "allowSyntheticDefaultImports" : true , // no errors with commonjs modules interop
11
+ "esModuleInterop" : true ,
11
12
"allowJs" : true , // include js files
12
13
"checkJs" : true , // typecheck js files
13
14
"declaration" : false , // don't emit declarations
You can’t perform that action at this time.
0 commit comments