Update Ember to 3.1
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
/* jshint node: true */
|
||||
'use strict';
|
||||
|
||||
module.exports = function(environment) {
|
||||
var ENV = {
|
||||
|
||||
let ENV = {
|
||||
modulePrefix: 'kredits-web',
|
||||
environment: environment,
|
||||
environment,
|
||||
rootURL: '/',
|
||||
locationType: 'auto',
|
||||
|
||||
@@ -83,9 +86,11 @@ module.exports = function(environment) {
|
||||
ENV.APP.LOG_VIEW_LOOKUPS = false;
|
||||
|
||||
ENV.APP.rootElement = '#ember-testing';
|
||||
ENV.APP.autoboot = false;
|
||||
}
|
||||
|
||||
if (environment === 'production') {
|
||||
// here you can enable a production-specific feature
|
||||
}
|
||||
|
||||
return ENV;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
'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
|
||||
};
|
||||
Reference in New Issue
Block a user