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
+4-4
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ module.exports = {
34
34
{
35
35
test:/\.css$/,
36
36
use:ExtractTextPlugin.extract({
37
-
fallbackLoader:"style-loader",
38
-
loader:"css-loader"
37
+
fallback:"style-loader",
38
+
use:"css-loader"
39
39
})
40
40
}
41
41
]
@@ -85,8 +85,8 @@ Creates an extracting loader from an existing loader. Supports loaders of type `
85
85
86
86
|Name|Type|Description|
87
87
|:--:|:--:|:----------|
88
-
|**`options.loader`**|`{String}`/`{Object}`|Loader(s) that should be used for converting the resource to a CSS exporting module _(required)_|
89
-
|**`options.fallbackLoader`**|`{String}`/`{Object}`|loader(e.g `'style-loader'`) that should be used when the CSS is not extracted (i.e. in an additional chunk when `allChunks: false`)|
88
+
|**`options.use`**|`{String}`/`{Object}`|Loader(s) that should be used for converting the resource to a CSS exporting module _(required)_|
89
+
|**`options.fallback`**|`{String}`/`{Object}`|loader(e.g `'style-loader'`) that should be used when the CSS is not extracted (i.e. in an additional chunk when `allChunks: false`)|
90
90
|**`options.publicPath`**|`{String}`|Override the `publicPath` setting for this loader|
0 commit comments