Gajus Kuizinas
Gajus Kuizinas
This solution seems fine. However, can you please add a test case (even though there are others that are failing).
I have not switched to webpack v4 myself. Cannot comment. Ensure that `context` is configured correctly. Assuming you have, this will require further inspection. Assuming this is incompatibility with v4,...
> @gajus I'm not sure how to configure the context in the .babelrc, Can you provide a demo ? Thanks. https://github.com/gajus/babel-plugin-react-css-modules/blob/master/demo/webpack.config.js#L28
You need to configure context in webpack and Babel. How you configure Babel is up to you (you can use `.babelrc.js`; you shouldn't use `.babelrc` because the value of the...
Currently, there is no way to use async plugins.
> Can we have this implemented please? Because it's written in the guidelines for new plugins to make them async and most of them are - import, precss etc. Give...
The reason this doesn't exist at the moment is simple... the only case where I wanted to have a postcss plugin was to enable certain async transformations (e.g. imports via...
Might need to have a look at https://github.com/wbyoung/babel-plugin-transform-postcss.
I cannot think of a way to do this from within the code-base. I cannot think of a clean way to implement this at the plugin either. Adding an option...
To illustrate a use case: ```js css` .primary { color: black; border: 1px solid black; background-color: white; } `; ; ```