mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
Restore old Hass.io HTML build (#1218)
This commit is contained in:
@@ -12,3 +12,11 @@ rm -rf $OUTPUT_DIR_ES5
|
||||
node script/gen-icons.js
|
||||
NODE_ENV=production ../node_modules/.bin/webpack -p
|
||||
node script/gen-index-html.js
|
||||
|
||||
# Temporarily re-create old HTML import
|
||||
echo "<script>" > $OUTPUT_DIR_ES5/hassio-app.html
|
||||
cat $OUTPUT_DIR_ES5/app.js >> $OUTPUT_DIR_ES5/hassio-app.html
|
||||
cat $OUTPUT_DIR_ES5/chunk.*.js >> $OUTPUT_DIR_ES5/hassio-app.html
|
||||
echo "</script>" >> $OUTPUT_DIR_ES5/hassio-app.html
|
||||
rm $OUTPUT_DIR_ES5/app.js*
|
||||
rm $OUTPUT_DIR_ES5/chunk.*
|
||||
|
||||
Reference in New Issue
Block a user