change default compile target to es2018

This commit is contained in:
Alexander Rose
2023-11-25 22:28:15 -08:00
parent 14441a4ee3
commit 3d0b9c98e4
3 changed files with 6 additions and 5 deletions

View File

@@ -3,11 +3,12 @@ All notable changes to this project will be documented in this file, following t
Note that since we don't clearly distinguish between a public and private interfaces there will be changes in non-major versions that are potentially breaking. If we make breaking changes to less used interfaces we will highlight it in here.
## [TODO]
## [V4-DEV]
- [Breaking] Reduce memory usage of `SymmetryOperator.ArrayMapping`
- Requires calling methods from instance
- [Breaking] Fix `mol-model/structure/model/properties/seconday-structure.ts` file name (#938)
- [Breaking] Change default compile target to ES2018
## [Unreleased]

View File

@@ -1,7 +1,7 @@
{
"compilerOptions": {
"declaration": true,
"target": "es5",
"target": "es2018",
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
@@ -16,7 +16,7 @@
"noEmitHelpers": true,
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx",
"lib": [ "es6", "dom", "esnext.asynciterable", "es2016", "ES2022.Object" ],
"lib": [ "es2018", "dom", "ES2022.Object" ],
"rootDir": "src",
"outDir": "lib/commonjs"
},

View File

@@ -1,7 +1,7 @@
{
"compilerOptions": {
"declaration": true,
"target": "es5",
"target": "es2018",
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
@@ -16,7 +16,7 @@
"noEmitHelpers": true,
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx",
"lib": [ "es6", "dom", "esnext.asynciterable", "es2016", "ES2022.Object" ],
"lib": [ "es2018", "dom", "ES2022.Object" ],
"rootDir": "src",
"outDir": "lib"
},