Mikelemuel
Mikelemuel

Reputation: 378

Will my ember app work in IE browser if I update it from 2.18 to 3.4?

The current version of my ember app is 2.18.0 and the app is working to IE browser as well and if I upgrade it to 3.4 would it not run to IE? If not, what are the versions of IE that it won't run?

Is it possible to support the IE version that are lower than 9 for ember version 3.14?

Upvotes: 1

Views: 201

Answers (1)

jrjohnson
jrjohnson

Reputation: 2459

Yes. Ember 3.x works in IE 11 as long as you configure your app's targets with that browser. This configuration is handled in config/targets.js. The default version can be found at:

https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/config/targets.js

and looks like

'use strict';

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
};

The separate production/CI section allows development to happen with the much easier to reason about async/await syntax, but the final production build is modified to work with IE.

The full list of possible browser targets can be found at https://browserl.ist/

For example: last 1 Firefox versions

Upvotes: 3

Related Questions