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
{{ message }}
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
// Options similar to the same options in webpackOptions.output
93
+
// both options are optional
94
+
filename:"[name].css",
95
+
chunkFilename:"[id].css"
96
+
})
97
+
],
98
+
module: {
99
+
rules: [
100
+
{
101
+
test:/\.css$/,
102
+
use: [
103
+
{
104
+
loader:MiniCssExtractPlugin.loader,
105
+
options: {
106
+
publicPathRelativeToSource:true,
107
+
}
108
+
},
109
+
"css-loader"
110
+
]
111
+
}
112
+
]
113
+
}
114
+
}
115
+
```
116
+
77
117
#### Advanced configuration example
78
118
79
119
This plugin should be used only on `production` builds without `style-loader` in the loaders chain, especially if you want to have HMR in `development`.
0 commit comments