* Gulpify build pipeline * Update build frontend script * Fixes * Limit service worker to latest build * Use shorthand * Fix hassio build
12 lines
262 B
Bash
Executable File
12 lines
262 B
Bash
Executable File
#!/bin/sh
|
|
# Analyze stats
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
STATS=1 NODE_ENV=production webpack --profile --json > compilation-stats.json
|
|
npx webpack-bundle-analyzer compilation-stats.json hass_frontend/frontend_latest
|
|
rm compilation-stats.json
|