Use yarn installed webpack
This commit is contained in:
parent
97f7614c5b
commit
f0628bd24c
1 changed files with 3 additions and 3 deletions
6
debian/rake-tasks.sh
vendored
6
debian/rake-tasks.sh
vendored
|
@ -41,6 +41,6 @@ echo "Precompiling assets..."
|
|||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
|
||||
|
||||
echo "Webpacking..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
|
||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack-bundle-analyzer'
|
||||
runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
|
||||
#runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
|
||||
#runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack-bundle-analyzer'
|
||||
runuser -u ${gitlab_user} -- sh -c 'node_modules/.bin/webpack --config config/webpack.config.js'
|
||||
|
|
Loading…
Reference in a new issue