2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
*/
|
|
|
|
|
|
2020-05-18 17:02:09 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
|
|
|
|
|
|
|
|
|
module.exports = function (defaults) {
|
2023-11-10 11:21:52 -05:00
|
|
|
const 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'],
|
|
|
|
|
},
|
2023-09-26 14:21:20 -07:00
|
|
|
'@embroider/macros': {
|
|
|
|
|
setConfig: {
|
|
|
|
|
'@ember-data/store': {
|
|
|
|
|
polyfillUUID: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-11-07 11:39:15 -05:00
|
|
|
// TODO: Update to 4.12 when deprecations are resolved
|
2024-02-05 15:59:58 -05:00
|
|
|
// as multiple things break when forcing compatability on > 4.6
|
2023-11-07 11:39:15 -05:00
|
|
|
emberData: {
|
2024-02-05 15:59:58 -05:00
|
|
|
compatWith: '4.6',
|
2023-11-07 11:39:15 -05:00
|
|
|
},
|
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();
|
|
|
|
|
};
|