@vonaffenfels/contentful-slate-editor 1.0.49 → 1.0.50

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": "@vonaffenfels/contentful-slate-editor",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "scripts": {
5
5
  "prepublish": "yarn run build",
6
6
  "dev": "yarn run start",
@@ -92,7 +92,7 @@
92
92
  "@vonaffenfels/slate-editor": "^1.0.49",
93
93
  "webpack": "5.88.2"
94
94
  },
95
- "gitHead": "b9487e3c2407021c202cb464a6073bb11ccb6bb4",
95
+ "gitHead": "800ba160fefb3a90d11d3836b3946d52f2ba0ba6",
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  }
package/webpack.config.js CHANGED
@@ -158,7 +158,10 @@ module.exports = ({
158
158
  new CleanWebpackPlugin(),
159
159
  new HtmlWebpackPlugin({template: path.join(__dirname, 'src', 'index.html')}),
160
160
  new MiniCssExtractPlugin({}),
161
- new webpack.DefinePlugin({'process.env': JSON.stringify(process.env)}),
161
+ new webpack.DefinePlugin({
162
+ 'process.env': JSON.stringify(process.env),
163
+ 'process': JSON.stringify({env: process.env}),
164
+ }),
162
165
  ],
163
166
  resolve: {
164
167
  extensions: ['.json', '.js', '.jsx'],