-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
issue with babel-root-import in .babelrc plugins #61
Comments
Ah, it looks like it's because They should've named & published it as
However, if you're using Webpack (which is a yes), why not let Webpack handle the module resolution?
IIRC, The only idea I have is to add an option for |
Yes a flag to disable it would be useful. |
An option it is. I do webpack on the server, so I'm immune to some of these problems. What I don't know is if it should be defaulted to |
I think should be defaulted to false to avoid unexpected behaviors. |
Sucks. It's been sooo nice to not have to install anything in a new project :( |
Then just provide the option, I use others libs that are not following the babel-plugin prefix |
@foxhound87 I will. I'd also like to know what other projects aren't following the prefix. In all of the projects we have at work this is a first for me. |
Careful using just. It's a loaded term, especially for development! |
Thanks for your advice. I'm italian I didn't know it. |
@foxhound87 Thanks for the list! It's more prevalent than I realized. Also, no worries. I work with a lot of people with MBAs. "It's just a new form. What's the big deal?" ;) |
Wait, I just realized something much simpler: this plugin can check for This way, if you already have dependencies installed, no problem, and no more erroneous installs. But missing plugins/presets can still be auto-installed (assuming they follow convention). |
that's my .babelrc
and this is what I get when I run the server:
It's trying to install a npm package that doesn't exist: babel-plugin-babel-root-import
The text was updated successfully, but these errors were encountered: