We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for making this very useful babel plugin!
I have verified that version 1.0.0-alpha.11 fails when a import statement for a css file has no explicit name, reporting:
babel-plugin-transform-import-css: ./App.css TypeError: Cannot read property 'name' of undefined
Replicate by placing an import statement like import './App.css' in a javascript file to be processed by transform-import-css.
import './App.css'
The offending code is in the classesMapConstAst of index.js due to importNode.local being undefined.
classesMapConstAst
importNode.local
The text was updated successfully, but these errors were encountered:
fix: issues: Fails for import statement with no name a-x-#2
5e4e65c
fix: issues: Fails for import statement with no name #2 (#4)
86641b6
Co-authored-by: sarapli <[email protected]>
I still get this error for importing CSS from node_modules
Sorry, something went wrong.
No branches or pull requests
Thank you for making this very useful babel plugin!
I have verified that version 1.0.0-alpha.11 fails when a import statement for a css file has no explicit name, reporting:
Replicate by placing an import statement like
import './App.css'
in a javascript file to be processed by transform-import-css.The offending code is in the
classesMapConstAst
of index.js due toimportNode.local
being undefined.The text was updated successfully, but these errors were encountered: