Project

General

Profile

« Previous | Next » 

Revision e7c1caaa

Added by Gilad Lekner over 5 years ago

Fixes #25137 - webpack-analyze script fails

View differences:

script/webpack-analyze
WEBPACK_DIR="$FOREMAN_PATH/public/webpack"
REPORT="${WEBPACK_DIR}/report.html"
mkdir -p $WEBPACK_DIR
$WEBPACK --profile --json > $WEBPACK_DIR/stats.json && \
webpack-bundle-analyzer --mode static -r $REPORT $WEBPACK_DIR/stats.json

Also available in: Unified diff