mirror of
https://github.com/home-assistant/frontend
synced 2024-09-20 03:11:16 +02:00
12 lines
246 B
Plaintext
12 lines
246 B
Plaintext
|
#!/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
|
||
|
rm compilation-stats.json
|