Replies: 5 comments
-
You can do it for type: 'css', also set name to cacheGroup |
Beta Was this translation helpful? Give feedback.
-
I have same problem. Please write some example. |
Beta Was this translation helpful? Give feedback.
-
Now you can do the same with rspack.cssExtractPlugin, the same configuration with webpack |
Beta Was this translation helpful? Give feedback.
-
@JSerFeng https://github.com/BazukenDev/rspack-scss.git File:app/src/js/popup.js
This always create a second bundle. Or i just get this error: |
Beta Was this translation helpful? Give feedback.
-
Fix: use test: /.s?css$/,
|
Beta Was this translation helpful? Give feedback.
-
According to this guide:
https://webpack.js.org/plugins/mini-css-extract-plugin/#extracting-all-css-in-a-single-file
It is possible to bundle all styles to single file in webpack and mini-css-extract-plugin.
How can i make it in Rspack?
i think
type: "css/mini-extract"
is not suitable for Rspack because there is no mini-css-extract-plugin in my config but there is a native css supportBeta Was this translation helpful? Give feedback.
All reactions