From 612958ece0ebdd2aaf325dcbf158bc41fcb261ab Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Sat, 6 Feb 2021 10:43:42 +0800 Subject: [PATCH] fix: update to reasonable babel env target --- web3.js/babel.config.json | 2 +- web3.js/package.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web3.js/babel.config.json b/web3.js/babel.config.json index 8c74e7826c..ec543409bb 100644 --- a/web3.js/babel.config.json +++ b/web3.js/babel.config.json @@ -1,6 +1,6 @@ { "presets": [ - ["@babel/preset-env", {"targets": "> 0.25%, not dead"}], + ["@babel/preset-env"], ["@babel/preset-flow"] ], "plugins": [ diff --git a/web3.js/package.json b/web3.js/package.json index de1b1fbf89..a4e2d5b993 100644 --- a/web3.js/package.json +++ b/web3.js/package.json @@ -23,6 +23,11 @@ "main": "lib/index.cjs.js", "module": "lib/index.esm.js", "types": "lib/index.d.ts", + "browserslist": [ + "defaults", + "not IE 11", + "maintained node versions" + ], "bin": { "solana-bpf-sdk-install": "bin/bpf-sdk-install.sh", "solana-localnet": "bin/localnet.sh"