@spryker/oryx-for-zed 3.0.0 → 3.1.0
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/CHANGELOG.md +7 -0
- package/lib/webpack.config.js +8 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### 3.1.0
|
|
4
|
+
Released on 15.09.2023
|
|
5
|
+
|
|
6
|
+
- Adjusted webpack config by introducing `NodePolyfillPlugin` usage from `node-polyfill-webpack-plugin`.
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- `webpack`: `5.81.0` => `5.88.2`
|
|
9
|
+
|
|
3
10
|
### 3.0.0
|
|
4
11
|
Released on 11.05.2023
|
|
5
12
|
|
package/lib/webpack.config.js
CHANGED
|
@@ -5,6 +5,12 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
|
5
5
|
const find = require('./find');
|
|
6
6
|
const configurePaths = require('./configure-paths');
|
|
7
7
|
|
|
8
|
+
let NodePolyfillPlugin;
|
|
9
|
+
|
|
10
|
+
try {
|
|
11
|
+
NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
|
|
12
|
+
} catch (e) {}
|
|
13
|
+
|
|
8
14
|
async function getConfiguration(settings) {
|
|
9
15
|
let mode = 'development';
|
|
10
16
|
let devtool = 'inline-source-map';
|
|
@@ -172,6 +178,8 @@ async function getConfiguration(settings) {
|
|
|
172
178
|
new MiniCssExtractPlugin({
|
|
173
179
|
filename: `./css/[name].css`,
|
|
174
180
|
}),
|
|
181
|
+
|
|
182
|
+
NodePolyfillPlugin ? new NodePolyfillPlugin() : null,
|
|
175
183
|
],
|
|
176
184
|
};
|
|
177
185
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spryker/oryx-for-zed",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Spryker ZED frontend automation tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"sass-loader": "~10.4.1",
|
|
37
37
|
"style-loader": "~0.23.1",
|
|
38
38
|
"terser-webpack-plugin": "~5.3.6",
|
|
39
|
-
"webpack": "~5.
|
|
39
|
+
"webpack": "~5.88.2",
|
|
40
40
|
"yargs": "~13.3.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|