@vonaffenfels/portal-slug-field 1.1.21 → 1.1.22

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/webpack.config.js +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/portal-slug-field",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "scripts": {
5
5
  "prepublish": "yarn run build",
6
6
  "dev": "yarn run start",
@@ -101,5 +101,5 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "gitHead": "ea7b5eec618b6dad81ecd09ec76ea6cd8b4cfbe3"
104
+ "gitHead": "29d6407ce7e95ad96748b41f402b961a54881d4b"
105
105
  }
package/webpack.config.js CHANGED
@@ -142,6 +142,19 @@ module.exports = {
142
142
  'url-loader',
143
143
  ],
144
144
  },
145
+ {
146
+ test: /\.svg$/,
147
+ resourceQuery: /url/, // include if *.svg?url
148
+ use: [
149
+ {
150
+ loader: 'file-loader',
151
+ options: {
152
+ name: '[name].[ext]',
153
+ outputPath: 'svgs/',
154
+ },
155
+ },
156
+ ],
157
+ },
145
158
  {
146
159
  test: /\.(woff(2)?|ttf|eot|png)(\?v=\d+\.\d+\.\d+)?$/,
147
160
  use: [