Skip to content

Commit

Permalink
fix embroider optimize build
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbilling committed Jan 3, 2024
1 parent 070965c commit 6f28f36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function (defaults) {
const app = new EmberAddon(defaults, {
// Add options here
'ember-fetch': {
nativePromise: true
}
});

/*
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = async function () {
},
},
embroiderSafe(),
// embroiderOptimized(),
embroiderOptimized(),
],
};
};

0 comments on commit 6f28f36

Please sign in to comment.