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 17bffed commit b7380bbCopy full SHA for b7380bb
README.md
@@ -63,7 +63,22 @@ snippets:
63
- `createTextExtractor`
64
- `getScssLoader`
65
66
-## Example
+## Example
67
+Before use examples you should know what happen inside react-scripts webpack config.
68
+first see and read this files:
69
+
70
+- `node_modules/react-scripts/config/webpack.config.dev.js`
71
+- `node_modules/react-scripts/config/webpack.config.prod.js`
72
73
+also you can log `webpackConfig` value.
74
75
+```js
76
+// webpack.monkey.js
77
+module.exports = function (webpackConfig, isDevelopment) {
78
+ console.log(webpackConfig)
79
+};
80
+```
81
82
### Webpack Visualizer
83
I love visualization so I add [webpack-visualizer-plugin][webpack-visualizer] to my project
84
- install plugin:
0 commit comments