35 lines
816 B
JavaScript
35 lines
816 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2021, 2026
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
|
|
|
|
module.exports = function (defaults) {
|
|
const app = new EmberAddon(defaults, {
|
|
babel: {
|
|
plugins: [
|
|
require.resolve('ember-concurrency/async-arrow-task-transform'),
|
|
],
|
|
},
|
|
});
|
|
|
|
/*
|
|
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
|
|
*/
|
|
|
|
const { maybeEmbroider } = require('@embroider/test-setup');
|
|
return maybeEmbroider(app, {
|
|
skipBabel: [
|
|
{
|
|
package: 'qunit',
|
|
},
|
|
],
|
|
});
|
|
};
|