@genesislcap/webpack-builder 14.26.2 → 14.26.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.common.d.ts","sourceRoot":"","sources":["../../src/config/webpack.common.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webpack.common.d.ts","sourceRoot":"","sources":["../../src/config/webpack.common.js"],"names":[],"mappings":"AAkCiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0Ef"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const crypto = require('crypto');
|
|
2
1
|
const path = require('path');
|
|
3
2
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
4
3
|
const fs = require('fs-extra');
|
|
@@ -8,12 +7,6 @@ const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
|
|
8
7
|
const { appFileRules } = require('../rules/fileRules');
|
|
9
8
|
const { appScriptRules } = require('../rules/scriptRules');
|
|
10
9
|
const { appStyleRules } = require('../rules/styleRules');
|
|
11
|
-
// Avoid MD4 hash for OpenSSL 3 compatibility
|
|
12
|
-
// https://github.com/cockpit-project/starter-kit/commit/3220617fec508aabbbc226a87a165c21fb72e913
|
|
13
|
-
// Using Webpack v5.54.0+ and output.hashFunction = "xxhash64" should make this unnecessary, however
|
|
14
|
-
// builds still fail with an OpenSSL error in practice
|
|
15
|
-
const cryptoOrigCreateHash = crypto.createHash;
|
|
16
|
-
crypto.createHash = (algorithm) => cryptoOrigCreateHash(algorithm == 'md4' ? 'sha256' : algorithm);
|
|
17
10
|
const readFile = (filePath) => {
|
|
18
11
|
if (!filePath)
|
|
19
12
|
return '';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/webpack-builder",
|
|
3
3
|
"description": "Webpack builder",
|
|
4
|
-
"version": "14.26.
|
|
4
|
+
"version": "14.26.4",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dev": "tsc -b ./tsconfig.json -w"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@genesislcap/build-kit": "^14.26.
|
|
16
|
-
"@module-federation/dashboard-plugin": "2.
|
|
15
|
+
"@genesislcap/build-kit": "^14.26.4",
|
|
16
|
+
"@module-federation/dashboard-plugin": "2.6.5",
|
|
17
17
|
"@pixability-ui/federated-types": "^0.2.0",
|
|
18
18
|
"camel-case": "^4.1.2",
|
|
19
19
|
"consola": "^3.0.2",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"ts-loader": "9.3.1",
|
|
33
33
|
"tslib": "^2.3.1",
|
|
34
34
|
"typescript": "^4.5.5",
|
|
35
|
-
"webpack": "^5.
|
|
35
|
+
"webpack": "^5.84.1",
|
|
36
36
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
37
37
|
"webpack-cli": "^4.5.0",
|
|
38
38
|
"webpack-dev-server": "^4.0.0-beta.3",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "bb3d86a419d4f42a944ac2ccb5d63b0ba46e0226"
|
|
56
56
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const crypto = require('crypto');
|
|
2
1
|
const path = require('path');
|
|
3
2
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
4
3
|
const fs = require('fs-extra');
|
|
@@ -9,13 +8,6 @@ const { appFileRules } = require('../rules/fileRules');
|
|
|
9
8
|
const { appScriptRules } = require('../rules/scriptRules');
|
|
10
9
|
const { appStyleRules } = require('../rules/styleRules');
|
|
11
10
|
|
|
12
|
-
// Avoid MD4 hash for OpenSSL 3 compatibility
|
|
13
|
-
// https://github.com/cockpit-project/starter-kit/commit/3220617fec508aabbbc226a87a165c21fb72e913
|
|
14
|
-
// Using Webpack v5.54.0+ and output.hashFunction = "xxhash64" should make this unnecessary, however
|
|
15
|
-
// builds still fail with an OpenSSL error in practice
|
|
16
|
-
const cryptoOrigCreateHash = crypto.createHash;
|
|
17
|
-
crypto.createHash = (algorithm) => cryptoOrigCreateHash(algorithm == 'md4' ? 'sha256' : algorithm);
|
|
18
|
-
|
|
19
11
|
const readFile = (filePath) => {
|
|
20
12
|
if (!filePath) return '';
|
|
21
13
|
const configPath = path.resolve(process.cwd(), filePath);
|