@vonaffenfels/contentful-teasermanager 1.1.20 → 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 +5 -5
  2. package/webpack.config.js +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/contentful-teasermanager",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "prepublish": "yarn run build",
@@ -87,19 +87,19 @@
87
87
  "react-uid": "^2.3.1",
88
88
  "regenerator-runtime": "^0.14.0",
89
89
  "sass": "^1.32.11",
90
- "sass-loader": "^11.0.1",
90
+ "sass-loader": "^11",
91
91
  "speakingurl": "^14.0.1",
92
92
  "style-loader": "^2.0.0",
93
- "tailwindcss": "3.3.2",
93
+ "tailwindcss": "^3",
94
94
  "url-loader": "^4.1.1",
95
95
  "webpack-cli": "^4.6.0",
96
96
  "webpack-dev-server": "^4.0.0-beta.2"
97
97
  },
98
98
  "dependencies": {
99
- "@vonaffenfels/slate-editor": "^1.1.19",
99
+ "@vonaffenfels/slate-editor": "^1.1.22",
100
100
  "webpack": "5.88.2"
101
101
  },
102
- "gitHead": "25f45634362a0556984f2ec967d6c9bf73b92f81",
102
+ "gitHead": "29d6407ce7e95ad96748b41f402b961a54881d4b",
103
103
  "publishConfig": {
104
104
  "access": "public"
105
105
  }
package/webpack.config.js CHANGED
@@ -116,6 +116,19 @@ module.exports = ({
116
116
  'url-loader',
117
117
  ],
118
118
  },
119
+ {
120
+ test: /\.svg$/,
121
+ resourceQuery: /url/, // include if *.svg?url
122
+ use: [
123
+ {
124
+ loader: 'file-loader',
125
+ options: {
126
+ name: '[name].[ext]',
127
+ outputPath: 'svgs/',
128
+ },
129
+ },
130
+ ],
131
+ },
119
132
  {
120
133
  test: /\.(woff(2)?|ttf|eot|png)(\?v=\d+\.\d+\.\d+)?$/,
121
134
  use: [