Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore allowing fallback require from working directory #227

Merged
merged 3 commits into from
Aug 5, 2019

Conversation

xg-wang
Copy link
Member

@xg-wang xg-wang commented Jul 23, 2019

This is the behavior for legacy whitelist.
Fix #221 ember-fastboot/ember-cli-fastboot#711

@xg-wang
Copy link
Member Author

xg-wang commented Jul 23, 2019

@rwjblue @kratiahuja @bobisjan Can you review?

src/ember-app.js Outdated Show resolved Hide resolved
- For deployed app, dist/node_modules is required
- For development mode in ember-cli-fastboot, require can fallback to
lookup working directory node_modules
src/ember-app.js Outdated Show resolved Hide resolved
@xg-wang
Copy link
Member Author

xg-wang commented Jul 29, 2019

@rwjblue @kratiahuja should this be released as a bug fix bump?

@gabrielcsapo
Copy link

bump on getting this merged 😄 🙏

@kratiahuja kratiahuja merged commit e461dd8 into ember-fastboot:master Aug 5, 2019
@kratiahuja
Copy link
Contributor

fastboot v2.0.2 is release with this fix only. Will release v3.0.0 later this week in order to ensure if there are other commits, they can go in.

@xg-wang xg-wang deleted the require branch August 5, 2019 05:11
@stefanpenner
Copy link
Contributor

Thanks!

@rwjblue rwjblue added the bug label Oct 24, 2019
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.

FastBoot.require is broken when running locally
6 participants