-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
improve experiments.css
support
#5340
Comments
Is it possible to also get inlining support like vite has via a resource query |
you can support this by custom rule or use rsbuild https://rsbuild.dev/guide/optimization/inline-assets#force-inlining |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
support |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
|
Added to the list, currently CSS Module Scripts is only available with css-loader |
When CSS Modules are enabled, the styles are usually imported using the default export of the style module, especially in a React and Vue application context. Instead in the current CSS support the https://nextjs.org/docs/app/building-your-application/styling/css#css-modules
In that case I'd very much prefer this
My main aim here would be to simplify the default required configuration for the CSS Modules. |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Also see webpack/webpack#14893
experiments.css
, but there are some inconsistent with webpack's, you can ignore them in this issue for now, we will make them consistent after the Rspack mini-css-extract-plugin is implemented align experiments.css behavior with webpack when support mini-css-extract-plugin #5096experiments.css
currently not supported.image-set()
@import url("...") layer(test);
@import url("...") supports(...);
@import url("...") media query;
a.css: [composes: b from "./b.css"], b.css: [composes: c from "./c.css"]
)new URL("./style.css", import.meta.url)
: Gives an URL to a stylesheet including all styles. @import and url() are resolved./* webpackIgnore: true */
forurl()
/image-set()
If you want to implement features that missing in both webpack and Rspack, we encourage you also contribute it back to webpack.
The text was updated successfully, but these errors were encountered: