1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Further simplify build (#1256)

* Remove manual copy

* Use Webpack to create gzip versions
This commit is contained in:
Paulus Schoutsen
2018-06-04 07:06:12 -04:00
committed by GitHub
parent af14fc6548
commit 4d48a63141
6 changed files with 35 additions and 180 deletions

View File

@@ -9,8 +9,7 @@ OUTPUT_DIR=hass_frontend
OUTPUT_DIR_ES5=hass_frontend_es5
rm -rf $OUTPUT_DIR $OUTPUT_DIR_ES5 $BUILD_DIR
cp -r public $OUTPUT_DIR
mkdir $OUTPUT_DIR_ES5
mkdir $OUTPUT_DIR $OUTPUT_DIR_ES5
# Needed in case frontend repo installed with pip3 install -e
cp -r public/__init__.py $OUTPUT_DIR_ES5/