This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Resolving imports paths with enabled preloaders #12
Comments
Seems very specific to Webpack, while the plugin isn't related to it per se. |
May be there are some other, more reliable parameters in |
@gaearon turned out it's kinda |
Is this same as gaearon/react-transform-boilerplate#15? |
yeah, looks like it is I guess we should file an issue to https://github.com/babel/babel-loader/blob/master/index.js#L31 |
I'm sure they'll appreciate a PR! |
Closing, as it's not actionable here. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I have a preloader in
webpack.config
, such as:then the loader's filename is included in filepath (
/Users/.../eslint-loader/index.js!/Users/.../Component.jsx
). I guess we should split filepath with"!"
and use the last part of it.The text was updated successfully, but these errors were encountered: