2020-05-18 17:02:09 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
|
|
|
|
|
|
|
|
|
module.exports = function (defaults) {
|
|
|
|
|
let app = new EmberApp(defaults, {
|
2021-05-11 15:29:46 -04:00
|
|
|
hinting: false,
|
2020-12-09 14:07:39 -05:00
|
|
|
'ember-cli-babel': {
|
2021-03-05 17:27:00 -05:00
|
|
|
includeExternalHelpers: true,
|
2020-12-09 14:07:39 -05:00
|
|
|
},
|
2022-10-17 14:57:30 +02:00
|
|
|
'ember-simple-auth': {
|
|
|
|
|
useSessionSetupMethod: true,
|
|
|
|
|
},
|
2020-05-18 17:02:09 -04:00
|
|
|
babel: {
|
|
|
|
|
sourceMaps: 'inline',
|
|
|
|
|
},
|
|
|
|
|
sourcemaps: {
|
|
|
|
|
enabled: true,
|
|
|
|
|
extensions: ['js'],
|
|
|
|
|
},
|
2020-11-18 19:18:34 -05:00
|
|
|
svg: {
|
2021-03-05 17:27:00 -05:00
|
|
|
paths: ['../../addons/core/public'],
|
|
|
|
|
},
|
2020-05-18 17:02:09 -04:00
|
|
|
});
|
|
|
|
|
|
2020-09-28 14:41:40 -04:00
|
|
|
// Only import when in development or test mode
|
|
|
|
|
if (app.env.match(/(development)|(test)/i)) {
|
|
|
|
|
app.import('node_modules/clipboard/dist/clipboard.js');
|
2020-11-16 15:08:59 -05:00
|
|
|
} else {
|
2020-09-28 14:41:40 -04:00
|
|
|
app.import('node_modules/clipboard/dist/clipboard.min.js');
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-18 17:02:09 -04:00
|
|
|
// Use `app.import` to add additional libraries to the generated
|
|
|
|
|
// output files.
|
|
|
|
|
//
|
|
|
|
|
// If you need to use different assets in different
|
|
|
|
|
// environments, specify an object as the first parameter. That
|
|
|
|
|
// object's keys should be the environment name and the values
|
|
|
|
|
// should be the asset to use in that environment.
|
|
|
|
|
//
|
|
|
|
|
// If the library that you are including contains AMD or ES6
|
|
|
|
|
// modules that you would like to import into your application
|
|
|
|
|
// please specify an object with the list of modules as keys
|
|
|
|
|
// along with the exports of each module as its value.
|
|
|
|
|
|
|
|
|
|
return app.toTree();
|
|
|
|
|
};
|