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
Creates an extracting loader from an existing loader.
60
+
Creates an extracting loader from an existing loader. Supports loaders of type `{ loader: string; query: object }`.
59
61
60
-
*`notExtractLoader` (optional) the loader(s) that should be used when the css is not extracted (i.e. in an additional chunk when `allChunks: false`)
61
-
*`loader` the loader(s) that should be used for converting the resource to a css exporting module.
62
-
*`options`
63
-
*`publicPath` override the `publicPath` setting for this loader.
62
+
*`options.loader: string | object | loader[]`_(required)_ the loader(s) that should be used for converting the resource to a css exporting module
63
+
*`options.notExtractLoader: string | object | loader[]` the loader(s) that should be used when the css is not extracted (i.e. in an additional chunk when `allChunks: false`)
64
+
*`options.publicPath: string` override the `publicPath` setting for this loader
64
65
65
-
There is also an `extract` function on the instance. You should use this if you have more than one ExtractTextPlugin.
66
+
There is also an `extract` function on the instance. You should use this if you have more than one `ExtractTextPlugin`.
66
67
67
68
```javascript
68
69
let ExtractTextPlugin =require('extract-text-webpack-plugin');
0 commit comments