1
0
Fork 0
mirror of https://github.com/kou029w/megabit.git synced 2025-01-30 21:58:04 +00:00

enable esModuleInterop, allowJs

This commit is contained in:
Nebel 2020-02-07 14:38:54 +09:00
parent b894aaa0be
commit 09b21adc1b
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
"target": "esnext", "target": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"allowJs": true, "allowJs": true,
"checkJs": true,
"declaration": true, "declaration": true,
"noImplicitThis": true, "noImplicitThis": true,
"alwaysStrict": true, "alwaysStrict": true,

View file

@ -1,7 +1,8 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "cjs",
"module": "commonjs", "module": "commonjs",
"outDir": "cjs" "esModuleInterop": true
} }
} }

View file

@ -1,7 +1,6 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"module": "esnext",
"outDir": "esm" "outDir": "esm"
} }
} }