ember-cli / ember-load-initializers

MIT License
14 stars 37 forks source link

Fail explicitly when initializer does not have default export #278

Closed mehulkar closed 3 years ago

mehulkar commented 3 years ago

This is not the real fix for #277 as @rwjblue points out in that issue, but it will help trace the issue for Embroider-built apps more easily. Since the blueprint in Ember also has this default export, it seems reasonable to hard-error when it's not there (e.g. if someone created the file manually and forgot to add it)

rwjblue commented 3 years ago

Released in https://github.com/ember-cli/ember-load-initializers/releases/tag/v2.1.2