aboutsummaryrefslogtreecommitdiff
path: root/tools/package.sh
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-26 13:11:23 +0430
committerrahighi <rahighi>2021-08-26 13:11:23 +0430
commitd4c38aa96f8404f3178031592e773a72b30df533 (patch)
treefaf0bfada7b5d98b3cbe34230a7628ba6d16a030 /tools/package.sh
parentb18da8ebebca5d40fb58fa270530cb9b048ff6ec (diff)
downloadtrackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.tar.gz
trackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.tar.bz2
trackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.zip
Merge branch 'master' of https://github.com/traccar/traccar-web
Diffstat (limited to 'tools/package.sh')
-rwxr-xr-xtools/package.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/package.sh b/tools/package.sh
index 14be2a20..858d2405 100755
--- a/tools/package.sh
+++ b/tools/package.sh
@@ -2,9 +2,13 @@
cd $(dirname $0)
-./minify.sh
+cd ..
-cd ../modern
+rm -r web/lib
+npm install --unsafe-perm
+npm run build
+
+cd modern
rm -r ../web/modern
npm install