27 lines
619 B
JavaScript
27 lines
619 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||
|
|
||
|
module.exports = function (defaults) {
|
||
|
const app = new EmberApp(defaults, {
|
||
|
'ember-cli-babel': { enableTypeScriptTransform: true },
|
||
|
|
||
|
// Add options here
|
||
|
});
|
||
|
|
||
|
const { Webpack } = require('@embroider/webpack');
|
||
|
return require('@embroider/compat').compatBuild(app, Webpack, {
|
||
|
staticAddonTestSupportTrees: true,
|
||
|
staticAddonTrees: true,
|
||
|
staticHelpers: true,
|
||
|
staticModifiers: true,
|
||
|
staticComponents: true,
|
||
|
staticEmberSource: true,
|
||
|
skipBabel: [
|
||
|
{
|
||
|
package: 'qunit',
|
||
|
},
|
||
|
],
|
||
|
});
|
||
|
};
|