-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Previous loaders are included in the filepath passed to Babel plugins #106
Comments
Just came across this issue today too - hope this can be fixed soon :) |
I suspect it's a pretty straightforward way to reproduce. I can try to conjure it back up, if that would be helpful. |
This is now on v6.2.0 |
* release/v6.2.0: Pass true filenames Fix styles that were breaking ci tests Remove babel-core/es2015 preset from devDependencies Pass true filenames #106
This issue is described in more detail over here, where I noticed the symptoms: formatjs/babel-plugin-react-intl#5
Basically, I have ts-loader set to run before babel-loader, and a plugin (babel-plugin-react-intl) that depends on file options being passed to it. When
babel-plugin-react-intl
receives the file information, thefilename
value is'<project directory>/node_modules/ts-loader/index.js!<project directory>/src/pages/asset/Page.tsx'
- which it can't parse.The text was updated successfully, but these errors were encountered: