Unverified Commit 4e0e33e7 authored by Buck Doyle's avatar Buck Doyle Committed by GitHub
Browse files

Remove support for IE11 (#9578)

This changes the Babel compilation targets to exclude IE 11,
which results in significant payload size savings.
Showing with 1 addition and 7 deletions
+1 -7
......@@ -2,13 +2,6 @@
const browsers = ['last 1 Chrome versions', 'last 1 Firefox versions', 'last 1 Safari versions'];
const isCI = !!process.env.CI;
const isProduction = process.env.EMBER_ENV === 'production';
if (isCI || isProduction) {
browsers.push('ie 11');
}
module.exports = {
browsers,
};
......@@ -17,6 +17,7 @@ module.exports = function(defaults) {
modes: ['javascript'],
},
babel: {
include: ['proposal-optional-chaining'],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
require.resolve('ember-auto-import/babel-plugin'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment