Set build target for module to es2020

This commit is contained in:
Johan Nordberg
2021-06-04 14:21:35 +09:00
parent 9e31efa8b6
commit 25b0e694f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export default [
format: 'esm',
sourcemap: true,
},
plugins: [typescript({target: 'esnext'})],
plugins: [typescript({target: 'es2020'})],
external,
onwarn,
},
+1 -1
View File
@@ -11,7 +11,7 @@
"noImplicitAny": false,
"sourceMap": true,
"strict": true,
"target": "esnext"
"target": "es2020"
},
"include": ["src/**/*"]
}