Skip to content

Commit

Permalink
Merge pull request #44 from mansona/fastboot
Browse files Browse the repository at this point in the history
Fix fastboot double wrapping default export/import
  • Loading branch information
mansona authored Jun 17, 2022
2 parents 706d871 + bef8ad1 commit 58583fb
Show file tree
Hide file tree
Showing 5 changed files with 1,997 additions and 743 deletions.
5 changes: 4 additions & 1 deletion addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ import { getOwnConfig, importSync } from '@embroider/macros';

let configModulePath = `${getOwnConfig().modulePrefix}/config/environment`;

export default importSync(configModulePath).default;
let config = importSync(configModulePath);

// fix problem with fastboot config being wrapped in a second "default" object
export default config.default?.default ?? config.default;
Loading

0 comments on commit 58583fb

Please sign in to comment.