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

Fix failing require with webpack #234

Merged
merged 1 commit into from Nov 15, 2014
Merged

Fix failing require with webpack #234

merged 1 commit into from Nov 15, 2014

Conversation

SimonDegraeve
Copy link
Contributor

I am using model in an isomorphic app, and this path.join(__dirname, info.path) fails because webpack transform __dirname into /.
So the failing result is ctor = require('/memory/index').Adapter; (notice the absolute path).

mde added a commit that referenced this pull request Nov 15, 2014
@mde mde merged commit b602437 into geddy:master Nov 15, 2014
@mde
Copy link
Contributor

mde commented Nov 15, 2014

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants