mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Build frontend with polymer-build
This commit is contained in:
parent
cb292a0b18
commit
cad1de790e
@ -13,13 +13,14 @@ rm -rf homeassistant/components/frontend/www_static/core.js* \
|
||||
homeassistant/components/frontend/www_static/webcomponents-lite.min.js* \
|
||||
homeassistant/components/frontend/www_static/panels
|
||||
cd homeassistant/components/frontend/www_static/home-assistant-polymer
|
||||
npm run clean
|
||||
|
||||
# Build frontend
|
||||
npm run frontend_prod
|
||||
BUILD_DEV=0 gulp
|
||||
cp bower_components/webcomponentsjs/webcomponents-lite.min.js ..
|
||||
cp -r build/* ..
|
||||
BUILD_DEV=0 node script/gen-service-worker.js
|
||||
cp build/*.js build/*.html ..
|
||||
mkdir ../panels
|
||||
cp build/panels/*.html ../panels
|
||||
BUILD_DEV=0 gulp gen-service-worker
|
||||
cp build/service_worker.js ..
|
||||
cd ..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user