diff --git a/ui/desktop/config/environment.js b/ui/desktop/config/environment.js index e050f665a..e358c0cac 100644 --- a/ui/desktop/config/environment.js +++ b/ui/desktop/config/environment.js @@ -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: { diff --git a/ui/desktop/ember-cli-build.js b/ui/desktop/ember-cli-build.js index d690a2531..d0812bbdf 100644 --- a/ui/desktop/ember-cli-build.js +++ b/ui/desktop/ember-cli-build.js @@ -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 diff --git a/ui/desktop/tests/test-helper.js b/ui/desktop/tests/test-helper.js index c083a4058..0382a848d 100644 --- a/ui/desktop/tests/test-helper.js +++ b/ui/desktop/tests/test-helper.js @@ -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';