We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da5a118 commit c90d385Copy full SHA for c90d385
1 file changed
rsbuild/vanilla-extract/rsbuild.config.ts
@@ -10,6 +10,21 @@ export default defineConfig({
10
},
11
}),
12
],
13
+ performance: {
14
+ chunkSplit: {
15
+ override: {
16
+ cacheGroups: {
17
+ vanillaCss: {
18
+ minSize: 0,
19
+ chunks: 'all',
20
+ test: /@vanilla-extract\/webpack-plugin/,
21
+ priority: 1000,
22
+ name: process.env.NODE_ENV === 'development' && 'vanilla-extract',
23
+ },
24
25
26
27
28
tools: {
29
rspack: {
30
plugins: [new VanillaExtractPlugin()],
0 commit comments