-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Imports from /node_modules are not transpiled #1260
Comments
Seems like same thing as in #1239 |
webpacker/package/rules/babel.js Lines 4 to 10 in 89e4d60
You can all an Ideally the |
Yes, thanks @renchap and @gauravtiwari! |
Just created new app using this commands:
everything seems to be fine if it comes to
/app/javascript/packs/application.js
(code inside is transpiled the way I configure in.babelrc
) but nothing happens to dependencies imported from/node_modules
folder, ie.:require('../../../node_modules/@mylib/mylib/file.js');
this will only output content of the file into a pack, but code is not picked up by babel :(
The text was updated successfully, but these errors were encountered: