forked from tornado-packages/noble-curves
tsconfig: change module to Node16, copy noble-ciphers change
This commit is contained in:
parent
a1a7dc9cbf
commit
8c39a6ac5a
3
src/package.json
Normal file
3
src/package.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
@ -14,11 +14,11 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@noble/hashes/crypto": ["src/crypto"]
|
"@noble/hashes/crypto": ["src/crypto.ts"]
|
||||||
},
|
},
|
||||||
"module": "es2020",
|
"module": "Node16",
|
||||||
"outDir": "esm",
|
"outDir": "esm",
|
||||||
"moduleResolution": "bundler"
|
"moduleResolution": "Node16"
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["node_modules", "lib"]
|
"exclude": ["node_modules", "lib"]
|
||||||
|
Loading…
Reference in New Issue
Block a user