Skip to content

Fail explicitly when initializer does not have default export - #278

Merged
rwjblue merged 1 commit into
ember-cli:masterfrom
mehulkar:mk/explicit
Nov 6, 2020
Merged

rwjblue merged 1 commit into
ember-cli:masterfrom
mehulkar:mk/explicit

Conversation

@mehulkar

@mehulkar mehulkar commented Nov 5, 2020

Copy link
Copy Markdown
Contributor

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 rwjblue added the bug label Nov 6, 2020
@rwjblue
rwjblue merged commit 168ed4c into ember-cli:master Nov 6, 2020
@rwjblue

rwjblue commented Nov 6, 2020

Copy link
Copy Markdown
Member

@mehulkar
mehulkar deleted the mk/explicit branch November 6, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants