@shopgate/webpack 7.20.3 → 7.21.0-beta.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/webpack",
3
- "version": "7.20.3",
3
+ "version": "7.21.0-beta.2",
4
4
  "description": "The webpack configuration for Shopgate's Engage.",
5
5
  "main": "webpack.config.js",
6
6
  "license": "Apache-2.0",
@@ -20,8 +20,8 @@
20
20
  "progress-bar-webpack-plugin": "^1.12.1",
21
21
  "script-ext-html-webpack-plugin": "^2.1.4",
22
22
  "style-loader": "0.23.1",
23
- "terser-webpack-plugin": "^2.2.1",
24
- "webpack": "4.39.1",
23
+ "terser-webpack-plugin": "^4.2.3",
24
+ "webpack": "^4.47.0",
25
25
  "webpack-cli": "3.3.6",
26
26
  "workbox-webpack-plugin": "4.3.1"
27
27
  },
package/webpack.config.js CHANGED
@@ -235,7 +235,7 @@ const config = {
235
235
  new TerserPlugin({
236
236
  parallel: true,
237
237
  extractComments: false,
238
- sourceMap: true,
238
+ sourceMap: !!devtool,
239
239
  terserOptions: {
240
240
  ecma: 5,
241
241
  keep_fnames: false,