From 75f37f6f7c8076eba5e7f33e23d9d3489fdf1979 Mon Sep 17 00:00:00 2001 From: Manon Pilaud Date: Thu, 2 Jul 2020 10:05:30 -0700 Subject: [PATCH] default browsers esmodules only --- packages/babel-preset/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/babel-preset/index.js b/packages/babel-preset/index.js index febc95d8..df419218 100644 --- a/packages/babel-preset/index.js +++ b/packages/babel-preset/index.js @@ -27,13 +27,7 @@ const PRESET_ENV_OPTIONS = [ 'shippedProposals', ]; -const DEFAULT_BROWSERS = [ - 'ie >= 11', - 'last 2 Edge versions', - 'last 4 Chrome versions', - 'last 4 Firefox versions', - 'last 2 Safari versions', -]; +const DEFAULT_BROWSERS = { esmodules: true }; function addDefaultOptions(explicitOptions) { const options = {