Target framework changed

This commit is contained in:
vorotamoroz 2022-10-11 10:22:58 +09:00
parent c8419d3afd
commit 563206450d
2 changed files with 7 additions and 6 deletions

View file

@ -3,7 +3,7 @@ import process from "process";
import builtins from 'builtin-modules'
const banner =
`/*
`/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
@ -47,7 +47,7 @@ esbuild.build({
...builtins],
format: 'cjs',
watch: !prod,
target: 'es2016',
target: 'es2018',
logLevel: "info",
sourcemap: prod ? false : 'inline',
treeShaking: true,

View file

@ -4,14 +4,15 @@
"inlineSourceMap": true,
"inlineSources": true,
"module": "ESNext",
"target": "ES6",
"target": "ES2018",
"allowJs": true,
"noImplicitAny": true,
"moduleResolution": "node",
"importHelpers": true,
"importHelpers": false,
"isolatedModules": true,
"strictNullChecks": true,
"strictNullChecks": true,
"lib": [
"ES2018",
"DOM",
"ES5",
"ES6",
@ -21,4 +22,4 @@
"include": [
"**/*.ts"
]
}
}