Replies: 5 comments 2 replies
-
| 
         Remove  Starting from v0.6.0, Rspack's  const config = {
   // ...
-  builtins: {
-    css: {
-      modules: {
-        exportsOnly: true,
-        localIdentName: '[hash]',
-        localsConvention: 'asIs',
-      },
-      namedExport: true,
-    }
-  },
+  module: {
+    generator: {
+      "css/auto": {
+        exportsOnly: true
+        localIdentName: '[hash]',
+        exportsConvention: 'as-is',
+      },
+    },
+    parser: {
+      "css/auto": {
+        namedExport: true,
+      },
+    },
+  },
}In Rspack v0.6.0, we introduce three new module type of generator options and parser options:  The parser options of  The generator options of  And there are some related breaking changes that you should notice: 
  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Remove   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Upgraded   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Remove   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Enable  This could slow down your build performance. If you encountered performance issue, you can disable this in   | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This thread is used to collect planned breaking changes for Rspack v0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions