@shopgate/webpack 6.22.0-beta.2 → 6.22.0-beta.4

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": "6.22.0-beta.2",
3
+ "version": "6.22.0-beta.4",
4
4
  "description": "The webpack configuration for Shopgate's Engage.",
5
5
  "main": "webpack.config.js",
6
6
  "license": "Apache-2.0",
@@ -11,6 +11,7 @@
11
11
  "color": "^3.1.2",
12
12
  "compression-webpack-plugin": "^3.0.0",
13
13
  "css-loader": "1.0.1",
14
+ "file-loader": "4.3.0",
14
15
  "html-webpack-plugin": "^3.2.0",
15
16
  "import-fresh": "3.0.0",
16
17
  "intl": "1.2.5",
package/webpack.config.js CHANGED
@@ -146,6 +146,14 @@ const config = {
146
146
  ],
147
147
  module: {
148
148
  rules: [
149
+ {
150
+ test: /\.(png|jpe?g|gif|svg)$/i,
151
+ use: [
152
+ {
153
+ loader: 'file-loader',
154
+ },
155
+ ],
156
+ },
149
157
  {
150
158
  test: /\.css$/,
151
159
  use: [