diff --git a/esbuild.config.mjs b/esbuild.config.mjs index feac5f8..97a3f92 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -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, diff --git a/tsconfig.json b/tsconfig.json index 2d6fbdf..9f87a84 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" ] -} +} \ No newline at end of file