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

how does this plugin complements babel-node? #45

Open
zhenyulin opened this issue Jun 14, 2017 · 0 comments
Open

how does this plugin complements babel-node? #45

zhenyulin opened this issue Jun 14, 2017 · 0 comments

Comments

@zhenyulin
Copy link

I'm using this plugin mainly for writing webpack config with export default.

if I do import webpackConfig from '', it seems babel-node has helped handle the module, and I wouldn't need this plugin.

If I do require('./webpackConfig'), it is treated as an UMD, presumably babel-node doesn't transpile the export, so I need to use this plugin to enable it.

Is the understanding correct?

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

1 participant