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

es2015 export #9

Closed
TrySound opened this issue Dec 3, 2015 · 3 comments
Closed

es2015 export #9

TrySound opened this issue Dec 3, 2015 · 3 comments

Comments

@TrySound
Copy link
Contributor

TrySound commented Dec 3, 2015

babel6 uses exports default module value in property and this plugin can't work regular in node without es2015 modules support

require('postcss-moduels').default()

You can fix it by using regular module.exports in src/index.js

@TrySound
Copy link
Contributor Author

TrySound commented Dec 3, 2015

Seems like this is related #8

@vladkosinov
Copy link

@Outpunk @TrySound in this case preferable to use this plugin http://babeljs.io/docs/plugins/transform-es2015-modules-commonjs

@madyankin
Copy link
Owner

Thanks!

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

No branches or pull requests

3 participants