Use ES2022 to follow ethers.js
This commit is contained in:
parent
aaa6e0d9f4
commit
ece511f424
342
dist/index.js
vendored
342
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
342
dist/index.mjs
vendored
342
dist/index.mjs
vendored
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@ const config = [
|
||||
include: /\.[jt]sx?$/,
|
||||
minify: false,
|
||||
sourceMap: true,
|
||||
target: 'es2015',
|
||||
target: 'es2022',
|
||||
}),
|
||||
nodeResolve(),
|
||||
commonjs()
|
||||
@ -40,7 +40,7 @@ const config = [
|
||||
include: /\.[jt]sx?$/,
|
||||
minify: false,
|
||||
sourceMap: true,
|
||||
target: 'es2015',
|
||||
target: 'es2022',
|
||||
}),
|
||||
nodeResolve()
|
||||
],
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"target": "es2022",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2015",
|
||||
"lib": ["es5", "es6", "es2021", "esnext"],
|
||||
"target": "es2022",
|
||||
"lib": ["es5", "es6", "es2021", "es2022", "esnext"],
|
||||
"module": "commonjs",
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./typechain-types",
|
||||
|
Loading…
Reference in New Issue
Block a user