From 6c2cfa101b1aa7066e30b2bace920ad60fbe96d1 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Mon, 7 Sep 2020 15:18:44 +0200 Subject: [PATCH] chore(webpack): allow use of pnpm / yarn --- packages/webpack/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 7584c179c..180b80208 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -28,8 +28,11 @@ "type": "git", "url": "https://github.com/NativeScript/nativescript-dev-webpack.git" }, + "config": { + "npm_alias":"npm" + }, "scripts": { - "clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts", + "clean": "npx rimraf -- node_modules package-lock.json && $npm_package_config_npm_alias i --ignore-scripts", "tsc": "tsc", "postinstall": "node postinstall.js", "preuninstall": "node preuninstall.js",