chore: Minor build cleanup at match admin ui
This commit is contained in:
3 files changed
+19
-8
No files matched your search
@@ -3,7 +3,7 @@
|
||||
const APP_NAME = process.env.APP_NAME || 'Boundary';
|
||||
const API_HOST = process.env.API_HOST || '';
|
||||
|
||||
module.exports = function(environment) {
|
||||
module.exports = function (environment) {
|
||||
let ENV = {
|
||||
modulePrefix: 'desktop',
|
||||
environment,
|
||||
@@ -14,10 +14,11 @@ module.exports = function(environment) {
|
||||
// Here you can enable experimental features on an ember canary build
|
||||
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
|
||||
},
|
||||
EXTEND_PROTOTYPES: {
|
||||
// // Prevent Ember Data from overriding Date.parse.
|
||||
// Date: false
|
||||
}
|
||||
EXTEND_PROTOTYPES: false,
|
||||
// EXTEND_PROTOTYPES: {
|
||||
// // Prevent Ember Data from overriding Date.parse.
|
||||
// Date: false
|
||||
// }
|
||||
},
|
||||
|
||||
APP: {
|
||||
|
||||
@@ -4,7 +4,17 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||
|
||||
module.exports = function(defaults) {
|
||||
let app = new EmberApp(defaults, {
|
||||
// Add options here
|
||||
babel: {
|
||||
sourceMaps: 'inline',
|
||||
},
|
||||
sourcemaps: {
|
||||
enabled: true,
|
||||
extensions: ['js'],
|
||||
},
|
||||
sassOptions: {
|
||||
onlyIncluded: true,
|
||||
extension: 'scss',
|
||||
},
|
||||
});
|
||||
|
||||
// Use `app.import` to add additional libraries to the generated
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Application from 'desktop/app';
|
||||
import config from 'desktop/config/environment';
|
||||
import Application from '../app';
|
||||
import config from '../config/environment';
|
||||
import { setApplication } from '@ember/test-helpers';
|
||||
import { start } from 'ember-qunit';
|
||||
|
||||
|
||||
Reference in new issue
Block a user