Move filemanager/ to frontend/
This commit is contained in:
@@ -55,11 +55,11 @@ echo "==> Building dashboard assets"
|
||||
(cd "${bundle_dir}/dashboard" && ./node_modules/.bin/gulp --revision ${box_version})
|
||||
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 "==> Building new frontend assets"
|
||||
(cd "${bundle_dir}/frontend" && npm install)
|
||||
(cd "${bundle_dir}/frontend" && ./node_modules/.bin/vite build --base=/frontend/)
|
||||
mv "${bundle_dir}/frontend/dist" "${bundle_dir}/dashboard/dist/frontend"
|
||||
rm -rf "${bundle_dir}/frontend"
|
||||
|
||||
echo "==> Installing toplevel node modules"
|
||||
(cd "${bundle_dir}" && npm install --omit=dev --omit=optional)
|
||||
|
||||
Reference in New Issue
Block a user