.
This commit is contained in:
parent
8020b31d24
commit
697f810c0e
3 changed files with 5 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"lib": ["ES2020"],
|
"lib": ["ES2020"],
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node16",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./dist-require",
|
"outDir": "./dist-require",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"outDir": "./dist-import",
|
"outDir": "./dist-import",
|
||||||
"emitDeclarationOnly": false,
|
"emitDeclarationOnly": false,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"module": "ESNext"
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "node16"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"lib": ["ES2020", "DOM"],
|
"lib": ["ES2020", "DOM"],
|
||||||
"module": "ESNext",
|
"module": "node16",
|
||||||
"moduleResolution": "bundler", // Suporta package.exports
|
"moduleResolution": "node16",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue