mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Fix build scripts for first run
This commit is contained in:
parent
68b94cd7c7
commit
f952d9c307
@ -10,5 +10,8 @@ OUTPUT_DIR=dist
|
|||||||
|
|
||||||
rm -rf $OUTPUT_DIR
|
rm -rf $OUTPUT_DIR
|
||||||
|
|
||||||
# NEW BUILD
|
cd ..
|
||||||
|
./node_modules/.bin/gulp build-translations gen-icons
|
||||||
|
cd gallery
|
||||||
|
|
||||||
NODE_ENV=production ../node_modules/.bin/webpack -p --config webpack.config.js
|
NODE_ENV=production ../node_modules/.bin/webpack -p --config webpack.config.js
|
||||||
|
@ -6,4 +6,8 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
./node_modules/.bin/gulp build-translations gen-icons
|
||||||
|
cd gallery
|
||||||
|
|
||||||
../node_modules/.bin/webpack-dev-server
|
../node_modules/.bin/webpack-dev-server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user