2023-03-01 09:39:41 -06:00
|
|
|
/**
|
2026-01-28 17:09:06 -08:00
|
|
|
* Copyright IBM Corp. 2021, 2026
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
*/
|
|
|
|
|
|
2021-03-05 14:22:06 -05:00
|
|
|
'use strict';
|
2020-11-18 11:58:16 -05:00
|
|
|
|
2021-03-05 14:22:06 -05:00
|
|
|
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
|
2022-11-04 22:15:31 +01:00
|
|
|
const { maybeEmbroider } = require('@embroider/test-setup');
|
2020-11-18 11:58:16 -05:00
|
|
|
|
2020-11-18 12:12:30 -05:00
|
|
|
module.exports = function (defaults) {
|
2023-10-27 11:10:30 -04:00
|
|
|
const app = new EmberAddon(defaults, {
|
2020-11-18 11:58:16 -05:00
|
|
|
// Add options here
|
2022-10-19 12:52:45 +02:00
|
|
|
'ember-simple-auth': {
|
|
|
|
|
useSessionSetupMethod: true,
|
|
|
|
|
},
|
2025-03-06 12:20:48 -08:00
|
|
|
babel: {
|
|
|
|
|
plugins: [
|
|
|
|
|
require.resolve('ember-concurrency/async-arrow-task-transform'),
|
|
|
|
|
],
|
|
|
|
|
},
|
2020-11-18 11:58:16 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
This build file specifies the options for the dummy test app of this
|
|
|
|
|
addon, located in `/tests/dummy`
|
|
|
|
|
This build file does *not* influence how the addon or the app using it
|
|
|
|
|
behave. You most likely want to be modifying `./index.js` or app's build file
|
|
|
|
|
*/
|
|
|
|
|
|
2022-11-04 22:15:31 +01:00
|
|
|
return maybeEmbroider(app, {
|
|
|
|
|
skipBabel: [
|
|
|
|
|
{
|
|
|
|
|
package: 'qunit',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
});
|
2020-11-18 11:58:16 -05:00
|
|
|
};
|