From df077dec3e23a8393988abc29e9010fe556f4ba2 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 8 Aug 2022 11:06:03 +1000 Subject: [PATCH] fix: lock webpack version --- web-chat/.pnpmfile.cjs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web-chat/.pnpmfile.cjs diff --git a/web-chat/.pnpmfile.cjs b/web-chat/.pnpmfile.cjs new file mode 100644 index 0000000..5e54b65 --- /dev/null +++ b/web-chat/.pnpmfile.cjs @@ -0,0 +1,14 @@ +function readPackage(pkg) { + // Freeze webpack transient dependency + if (pkg.dependencies.webpack) { + pkg.dependencies.webpack = '5.65.0'; + } + + return pkg +} + +module.exports = { + hooks: { + readPackage + } +}