@shopgate/webpack 7.30.0-alpha.10 → 7.30.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/webpack.config.js +4 -3
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
1
|
const path = require('path');
|
|
3
2
|
const webpack = require('webpack');
|
|
4
3
|
const chalk = require('chalk');
|
|
@@ -185,7 +184,9 @@ const config = {
|
|
|
185
184
|
...(isDev && addBundleAnalyzer ? [
|
|
186
185
|
new BundleAnalyzerPlugin(),
|
|
187
186
|
] : []),
|
|
188
|
-
...(isDev ? [new ReactRefreshWebpackPlugin(
|
|
187
|
+
...(isDev ? [new ReactRefreshWebpackPlugin({
|
|
188
|
+
overlay: false,
|
|
189
|
+
})] : []),
|
|
189
190
|
...(!isDev ? [
|
|
190
191
|
new CompressionWebpackPlugin({
|
|
191
192
|
filename: '[path][base].gz[query]',
|
|
@@ -343,4 +344,4 @@ const config = {
|
|
|
343
344
|
};
|
|
344
345
|
|
|
345
346
|
module.exports = config;
|
|
346
|
-
|
|
347
|
+
|