mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Update frontend
This commit is contained in:
@@ -7,9 +7,12 @@ npm run frontend_prod
|
||||
|
||||
cp bower_components/webcomponentsjs/webcomponents-lite.min.js ..
|
||||
cp build/frontend.html ..
|
||||
cp build/service_worker.js ..
|
||||
gzip build/frontend.html -c -k -9 > ../frontend.html.gz
|
||||
|
||||
node script/sw-precache.js
|
||||
cp build/service_worker.js ..
|
||||
gzip build/service_worker.js -c -k -9 > ../service_worker.js.gz
|
||||
|
||||
# Generate the MD5 hash of the new frontend
|
||||
cd ../..
|
||||
echo '"""DO NOT MODIFY. Auto-generated by build_frontend script."""' > version.py
|
||||
|
||||
Reference in New Issue
Block a user