diff --git a/script/build-web.sh b/script/build-web.sh index f211d223f04fde85e8f06277fc15c2884a0f348d..2c43ede49010c48e2d726acaa19f0572c61b5e17 100755 --- a/script/build-web.sh +++ b/script/build-web.sh @@ -1,5 +1,16 @@ echo "Building AURA Clock ..." -(cd contrib/aura-clock && npm run build) +( + cd contrib/aura-clock + npm run build +) +cp contrib/aura-clock/public/build/aura-clock-bundle.css web/css/aura-clock-bundle.css +cp contrib/aura-clock/public/build/aura-clock-bundle.js web/js/aura-clock-bundle.js + echo "Building AURA Player ..." -(cd contrib/aura-player && npm install) +( + cd contrib/aura-player + npm run build +) +cp contrib/aura-player/public/build/aura-player-bundle.css web/css/aura-player-bundle.css +cp contrib/aura-player/public/build/aura-player-bundle.js web/js/aura-player-bundle.js