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?$/,
|
include: /\.[jt]sx?$/,
|
||||||
minify: false,
|
minify: false,
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
target: 'es2015',
|
target: 'es2022',
|
||||||
}),
|
}),
|
||||||
nodeResolve(),
|
nodeResolve(),
|
||||||
commonjs()
|
commonjs()
|
||||||
@ -40,7 +40,7 @@ const config = [
|
|||||||
include: /\.[jt]sx?$/,
|
include: /\.[jt]sx?$/,
|
||||||
minify: false,
|
minify: false,
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
target: 'es2015',
|
target: 'es2022',
|
||||||
}),
|
}),
|
||||||
nodeResolve()
|
nodeResolve()
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es2020",
|
"target": "es2022",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2015",
|
"target": "es2022",
|
||||||
"lib": ["es5", "es6", "es2021", "esnext"],
|
"lib": ["es5", "es6", "es2021", "es2022", "esnext"],
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"rootDir": "./typechain-types",
|
"rootDir": "./typechain-types",
|
||||||
|
Loading…
Reference in New Issue
Block a user