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/nodejs requires #1

Merged
merged 2 commits into from
May 4, 2016
Merged

Fix/nodejs requires #1

merged 2 commits into from
May 4, 2016

Conversation

themarkappleby
Copy link
Contributor

Priority

High. This fix enables Devour to be brought into a project as a dependency via NPM.

What Changed & Why

NPM/Node does not currently support ES6 style module syntax (import/export) (ref: nodejs/help#53). When trying to include Devour as a dependancy, I was getting the following error: unexpected token import. To fix this issue, I changed Devour to use the Node.js style module syntax (require/module.exports).

@Emerson Emerson merged commit b6ba3c1 into master May 4, 2016
@Emerson Emerson deleted the fix/nodejs-requires branch May 5, 2016 14:38
Emerson pushed a commit that referenced this pull request Aug 10, 2017
Add meta support for patch and post
Emerson pushed a commit that referenced this pull request Sep 21, 2017
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.

2 participants