You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/10/28 02:06:34 UTC
[incubator-annotator] 02/02: Remove shippedProposals from
@babel/preset-env
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 9e98670464bc318c23bbfac1e89900d2269e152a
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Oct 27 19:04:51 2019 -0700
Remove shippedProposals from @babel/preset-env
The shippedProposals option only applies when @babel/preset-env is
used with the useBuiltIns option. With the current setup,
@babel/plugin-transform-runtime is used for polyfills rather than
@babel/preset-env.
---
babel.config.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index ffb36ab..55645f9 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -28,8 +28,6 @@ module.exports = api => {
const envOptions = {
// Transform module syntax if necessary.
modules: CJS ? 'commonjs' : false,
- // Enable transformations for shipped proposals.
- shippedProposals: true,
// Set target environment to default browsers.
targets: 'defaults',
};