QuickBase / babel-plugin-styled-components-css-namespace

A babel plugin to add css namespaces (and increase specificity) of styled-component classes.
MIT License
118 stars 32 forks source link

babel config problem #67

Open oemueller opened 4 years ago

oemueller commented 4 years ago

I guess this is a bit off topic but maybe someone can help.

The plugin works nicely when I use it in a fresh "create-react-app" setup. Really cool !

Now I want to create a bundle of my project to be used in another project by using the "microbundle" bundler. I tried different Babel configs ".babelrc" and "babel.config.js" - but the css prefixes are not applied. Not sure if the plugin is even called. Maybe I should try another bundler?

Thanks, Oliver

burakilk commented 4 years ago

some one help me this issues?

oemueller commented 4 years ago

I switched from microbundle to https://github.com/preconstruct/preconstruct to get it working