Can't extract multiple .css files from a single .js entry (imported multiple .scss files)? #428
Comments
Use |
@scottdj92 What is difference? is mine a short form of yours? And it doesn't work. |
I'm not sure I can answer this question: @bebraw any input? |
I would do two |
@bebraw Did you mean Thanks, |
It seems that there is the only way to extract multiple CSS files:
https://blog.madewithenvy.com/webpack-2-postcss-cssnext-fdcd2fd7d0bd |
Here's the example you requested for. Can you re-open at Stack Overflow (the issue tracker is not for support) for more input? |
This is the issue on StackOverflow created by @tiendq: I'm having the same situation: One entry that imports two SCSS files and I want to export these two SCSS files as separate CSS files. So not bundling CSS files. The |
How can I extract
main.scss
andhome.scss
intomain.css
andhome.css
in the following example?Result: There was no error, but only
home.css
was created.home.js
main.scss
home.scss
webpack.config.js
The text was updated successfully, but these errors were encountered: