Skip to content

Commit

Permalink
Target framework changed
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtmrz committed Oct 11, 2022
1 parent c8419d3 commit 5632064
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -47,7 +47,7 @@ esbuild.build({
...builtins],
format: 'cjs',
watch: !prod,
target: 'es2016',
target: 'es2018',
logLevel: "info",
sourcemap: prod ? false : 'inline',
treeShaking: true,
Expand Down
9 changes: 5 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -21,4 +22,4 @@
"include": [
"**/*.ts"
]
}
}

0 comments on commit 5632064

Please sign in to comment.