From 28a56219740bf02c4f1ec99ad0b63960d923d4a2 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sat, 9 Sep 2017 22:17:18 +0530 Subject: [PATCH] remove npm pulled webpack --- debian/rake-tasks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index 5c02036505..65820c1420 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -30,6 +30,7 @@ runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules' runuser -u ${gitlab_user} -- sh -c 'npm install' runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/exports-loader node_modules' runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/raw-loader node_modules' +runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack' runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js' echo "Precompiling assets..."