We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da12a4 commit 9b531e3Copy full SHA for 9b531e3
docs/Configuration.md
@@ -246,6 +246,28 @@ module.exports = {
246
247
> **Note:** This will add a separate webpack entry for each array item.
248
249
+Don’t forget to add webpack loaders for each file you add here. For example, to require a CSS file you’ll need:
250
+
251
+```javascript
252
+module.exports = {
253
+ webpackConfig: {
254
+ module: {
255
+ rules: [
256
+ {
257
+ test: /\.css$/,
258
+ use: [
259
+ 'style-loader',
260
+ 'css-loader'
261
+ ]
262
+ }
263
264
265
266
+};
267
+```
268
269
+See [Configuring webpack](Webpack.md) for mode details.
270
271
#### `resolver`
272
273
Type: `Function`, optional
0 commit comments