Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 141a407

Browse files
committed
fix: revert to webpack 4.40
Fixes #3005
1 parent 5ecf90a commit 141a407

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

clients/bin/mkclient.sh

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ EOF
4646
mkdir plugins
4747
cp -a -L ../clients/default/theme .
4848

49-
if [ "$1" == "-f" ] || [ ! -f "$SCRIPTDIR"/client-package.json ] || [ ! -f "$SCRIPTDIR"/client-package-lock.json ]; then
50-
echo "$(tput setaf 1)building from scratch$(tput sgr0)"
49+
echo "$(tput setaf 1)building from scratch$(tput sgr0)"
5150

52-
cat > package.json <<EOF
51+
cat > package.json <<EOF
5352
{
5453
"name": "kui",
5554
"version": "0.0.1",
@@ -71,11 +70,6 @@ if [ "$1" == "-f" ] || [ ! -f "$SCRIPTDIR"/client-package.json ] || [ ! -f "$SC
7170
}
7271
EOF
7372

74-
npm install --save-dev /tmp/kui-packs/{*builder*,*test*,*webpack*,*proxy*} typescript electron@6.0.8 spectron@8.0.0 @types/uuid @types/node --save /tmp/kui-packs/{*core*,*plugin-*}
75-
cp package-lock.json "$SCRIPTDIR"/client-package-lock.json
76-
cp package.json "$SCRIPTDIR"/client-package.json
77-
else
78-
cp "$SCRIPTDIR"/client-package-lock.json package-lock.json
79-
cp "$SCRIPTDIR"/client-package.json package.json
80-
npm ci
81-
fi
73+
npm install --save-dev /tmp/kui-packs/{*builder*,*test*,*webpack*,*proxy*} typescript electron@6.0.8 spectron@8.0.0 @types/uuid @types/node --save /tmp/kui-packs/{*core*,*plugin-*}
74+
cp package-lock.json "$SCRIPTDIR"/client-package-lock.json
75+
cp package.json "$SCRIPTDIR"/client-package.json

packages/webpack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"shebang-loader": "0.0.1",
4343
"source-map-loader": "0.2.4",
4444
"svg-inline-loader": "0.8.0",
45-
"terser-webpack-plugin": "2.1.3",
45+
"terser-webpack-plugin": "2.1.0",
4646
"to-string-loader": "1.1.5",
47-
"webpack": "4.41.0",
47+
"webpack": "4.40.2",
4848
"webpack-cli": "3.3.9",
4949
"webpack-dev-server": "3.8.2"
5050
},

0 commit comments

Comments
 (0)