This is an automated email from the ASF dual-hosted git repository. randall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit db8b26ef76fdf8dd191f5575934fc87dedd97b89 Author: Randall Leeds <[email protected]> AuthorDate: Mon Aug 3 19:03:05 2020 -0700 Target only the latest ECMAScript standard The project does not yet use any features that require anything beyond the ECMAScript 2020 standard. --- babel.config.js | 4 ++-- tsconfig.base.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 21401f2..bf09c36 100644 --- a/babel.config.js +++ b/babel.config.js @@ -50,8 +50,8 @@ module.exports = (api) => { // Options for the @babel/transform-runtime plugin. const runtimeOptions = { - // Use corejs version 3 with shipped proposals. - corejs: { proposals: true, version: 3 }, + // Use corejs version 3. + corejs: { version: 3 }, // Use helpers formatted for the target environment. useESModules: !CJS && !TEST, }; diff --git a/tsconfig.base.json b/tsconfig.base.json index b8b3d12..5098b2b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -8,7 +8,7 @@ "downlevelIteration": true, "emitDeclarationOnly": true, "isolatedModules": true, - "lib": ["esnext"], + "lib": ["es2020"], "moduleResolution": "node", "strict": true, "target": "es2017"
