-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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.
The offending code is in the classesMapConstAst of index.js due to importNode.local being undefined.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels