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/05/09 10:01:56 UTC
[incubator-annotator] 07/09: Target default browserslist browsers
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 44fa8fc0c21dfd153a2d6c3f7c844fd4b7809b1b
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu May 9 02:58:28 2019 -0700
Target default browserslist browsers
---
babel.config.js | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index f6ff1df..5c263d6 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -35,13 +35,8 @@ module.exports = api => {
modules: CJS ? 'commonjs' : false,
// Enable transformations for shipped proposals.
shippedProposals: true,
- // Set target environments.
- targets: {
- // Browsers: > 1%, last 2 versions, Firefox ESR
- browsers: ['defaults'],
- // Node: LTS
- node: '6.0',
- },
+ // Set target environment to default browsers.
+ targets: 'defaults',
// Import polyfills where they are used, without polluting globals.
useBuiltIns: 'usage',
};