Also build filemanager for dashboard into the release tarball
This commit is contained in:
@@ -55,6 +55,12 @@ echo "==> Building dashboard assets"
|
|||||||
(cd "${bundle_dir}/dashboard" && ./node_modules/.bin/gulp --revision ${box_version})
|
(cd "${bundle_dir}/dashboard" && ./node_modules/.bin/gulp --revision ${box_version})
|
||||||
rm -rf "${bundle_dir}/dashboard/node_modules"
|
rm -rf "${bundle_dir}/dashboard/node_modules"
|
||||||
|
|
||||||
|
echo "==> Building filemanager assets"
|
||||||
|
(cd "${bundle_dir}/filemanager" && npm install)
|
||||||
|
(cd "${bundle_dir}/filemanager" && ./node_modules/.bin/vite build --base=/filemanager/)
|
||||||
|
mv "${bundle_dir}/filemanager/dist" "${bundle_dir}/dashboard/dist/filemanager"
|
||||||
|
rm -rf "${bundle_dir}/filemanager"
|
||||||
|
|
||||||
echo "==> Installing toplevel node modules"
|
echo "==> Installing toplevel node modules"
|
||||||
(cd "${bundle_dir}" && npm install --omit=dev --no-optional)
|
(cd "${bundle_dir}" && npm install --omit=dev --no-optional)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user