Skip to content

Commit

Permalink
make sure to initialise warp-drive config
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jun 21, 2024
1 parent 348b946 commit a329214
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion files-override/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const { maybeEmbroider } = require('@embroider/test-setup');

module.exports = function (defaults) {
module.exports = async function (defaults) {
const { setConfig } = await import('@warp-drive/build-config');
let app = new EmberApp(defaults, {});

setConfig(app, __dirname, {
// WarpDrive/EmberData settings go here (if any)
});

return maybeEmbroider(app, {
skipBabel: [
{
Expand Down

0 comments on commit a329214

Please sign in to comment.