Skip to content

Updated readme for babel-node and ES6 import #80

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

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

ro-savage
Copy link
Contributor

It took me ages to figure out how to import this using babel-node.

There seems to be some issue with require, imports and babel-node meaning that the hook doesn't get run until after it tries to import files+styles. (Or maybe I am just noob) See #53

This worked as my solution, and might save someone else a lot of time :)

@mightyaleksey
Copy link
Member

Thank you!

@mightyaleksey mightyaleksey merged commit 530becd into css-modules:master Nov 8, 2016
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