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 7137b54ea84a0cb294c23885b45cb72a779adaff Author: Randall Leeds <[email protected]> AuthorDate: Mon Aug 3 19:06:51 2020 -0700 Enable minimal syntax polyfills in @babel/preset-env --- babel.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/babel.config.js b/babel.config.js index bf09c36..a736a9a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -26,6 +26,9 @@ module.exports = (api) => { // Options for the @babel/env preset. const envOptions = { + // Use minimal syntax fixes where possible + // Note: This setting may become the default in Babel 8. + bugfixes: true, // Transform module syntax if necessary. modules: CJS || TEST ? 'commonjs' : false, // Set target environment to default browsers.
