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
Copy file name to clipboardexpand all lines: README.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ module.exports = {
87
87
|**[`insert`](#insert)**|`{String\|Function}`|`document.head.appendChild(linkTag);`| Inserts the `link` tag at the given position for [non-initial (async)](https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks |
88
88
|**[`attributes`](#attributes)**|`{Object}`|`{}`| Adds custom attributes to the `link` tag for [non-initial (async)](https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks |
89
89
|**[`linkType`](#linkType)**|`{String\|Boolean}`|`text/css`| Allows loading asynchronous chunks with a custom link type |
90
-
|**[`noRuntime`](#linkType)**|`{Boolean}`|`false`| Skips the runtime generation|
90
+
|**[`runtime`](#runtime)**|`{Boolean}`|`true`| Allows to enable/disable the runtime generation |
91
91
|**[`experimentalUseImportModule`](#experimentalUseImportModule)**|`{Boolean}`|`false`| Use an experimental webpack API to execute modules instead of child compilers |
92
92
93
93
#### `filename`
@@ -266,22 +266,26 @@ module.exports = {
266
266
};
267
267
```
268
268
269
-
#### `noRuntime`
269
+
#### `runtime`
270
270
271
-
##### `Boolean`
271
+
Type: `Boolean`
272
+
Default: `true`
272
273
273
-
An option to avoid the runtime generation. Assets are still extracted and can be used for a custom loading methods. For example, you can use [assets-webpack-plugin](https://github.com/ztoben/assets-webpack-plugin) to retreive them then use your own runtime code to download assets when needed.
274
+
Allows to enable/disable the runtime generation.
275
+
CSS will be still extracted and can be used for a custom loading methods.
276
+
For example, you can use [assets-webpack-plugin](https://github.com/ztoben/assets-webpack-plugin) to retreive them then use your own runtime code to download assets when needed.
0 commit comments