-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
In the @babel/core, config a String plugins, can not resolve module #9174
Comments
Hey @qingxiao! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
You could use |
Babels config system is not configurable. I'd use a |
Ok, got it. thank you |
Oh autocomplete screwed that up FYI, I meant "a js config". |
Feature Request
babel/packages/babel-core/src/config/files/plugins.js
Line 99 in 731182e
this code use resolve.sync to load a plugin, when i config a plugin like that
Because the default here is
{ basedir: dirname }
, so module will find byresoleve
module supportresolve. sync (name, {paths: custormPaths})
,it can be added in the
bable-loader
configuration? like webpack resolve loader configso we can use custorm path to find a module, Thanks!
The text was updated successfully, but these errors were encountered: