You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**[`filename`](#filename)**|`{String\|Function}`|`[name].css`| This option determines the name of each output CSS file |
81
+
|**[`chunkFilename`](#chunkFilename)**|`{String\|Function}`|`based on filename`| This option determines the name of non-entry chunk files |
82
+
|**[`ignoreOrder`](#ignoreOrder)**|`{Boolean}`|`false`| Remove Order Warnings |
83
+
|**[`insert`](#insert)**|`{String\|Function}`|`document.head.appendChild(linkTag);`| Inserts `<link>` at the given position |
84
+
|**[`attributes`](#attributes)**|`{Object}`|`{}`| Adds custom attributes to tag |
85
+
|**[`linkType`](#linkType)**|`{String\|Boolean}`|`text/css`| Allows loading asynchronous chunks with a custom link type |
86
+
|**[`experimentalUseImportModule`](#experimentalUseImportModule)**|`{Boolean}`|`false`| Use an experimental webpack API to execute modules instead of child compilers |
86
87
87
88
#### `filename`
88
89
@@ -256,6 +257,16 @@ module.exports = {
256
257
};
257
258
```
258
259
260
+
#### `experimentalUseImportModule`
261
+
262
+
Use an experimental webpack API to execute modules instead of child compilers.
263
+
264
+
This improves performance and memory usage a lot, but isn't as stable as the normal approach.
265
+
266
+
When combined with `experiments.layers`, this adds a `layer` option to the loader options to specify the layer of the css execution.
0 commit comments