Open kof opened 6 years ago
Couldn't this work with the babel plugin and merely find all @raw
rules and generate a css file from them?
This issue is about extracting from separate files, for this functionality no babel plugin is required, it will just require the modules in node and generate css files. Extracting @raw rules is a separate story, evtl can be done later in this plugin as well.
We got https://github.com/cssinjs/jss-loader repo transfered from Mark and I am in npm package owners, so we can publish in that namespace
Me @markdalgleish and @lttb in separate chats discussed that JSS has no examples on static extraction from separate files, even though it can be easily done and big projects like https://www.kijiji.ca/ do it that way.
@markdalgleish has written this webpack loader long time ago.
Todo