-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use CssExtractRspackPlugin to extract CSS #1577
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
!canary |
!bench |
📝 Benchmark detail: Open case: rsbuild-react
case: rsbuild-arco-pro
Threshold exceeded in rsbuild-arco-pro: ["devColdBootTime","buildColdBootTime"] |
!bench |
📝 Benchmark detail: Open case: rsbuild-react
case: rsbuild-arco-pro
|
!bench |
📝 Benchmark detail: Open case: rsbuild-react
case: rsbuild-arco-pro
Threshold exceeded in rsbuild-arco-pro: ["devColdBootTime"] |
!bench |
📝 Benchmark detail: Open case: rsbuild-react
Threshold exceeded in rsbuild-react: ["dependenciesCount"] case: rsbuild-arco-pro
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use a smaller asset, and all assets should be placed at e2e/assets
(to be reused)
tools: { | ||
cssLoader: { | ||
modules: { | ||
// TODO: css-loader need support named export when namedExports: false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do we need to do to support this
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Summary
Previously, when we turned on css extract (by default), we used rspack's experiments.css function.
but there are lots of difference between experiments.css and mini-css-extract-plugin which makes migrate old application hard and has some bugs.
Related Links
Checklist