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