mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
windows: do not include dev dependencies in the prebuilt package
This makes the package smaller. Before this change: added 981 packages from 1497 contributors [...] 53M etherpad-lite-win.zip After this change: added 734 packages from 1043 contributors [...] 43M etherpad-lite-win.zip Closes #3651.
This commit is contained in:
parent
283100db6b
commit
ce666f19bd
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ cd $TMP_FOLDER
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
rm -f etherpad-lite-win.zip
|
rm -f etherpad-lite-win.zip
|
||||||
|
|
||||||
|
# setting NODE_ENV=production ensures that dev dependencies are not installed,
|
||||||
|
# making the windows package smaller
|
||||||
|
export NODE_ENV=production
|
||||||
|
|
||||||
echo "do a normal unix install first..."
|
echo "do a normal unix install first..."
|
||||||
bin/installDeps.sh || exit 1
|
bin/installDeps.sh || exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue