[DevTools] Store Webpack stats when building extensions (#34514)

This commit is contained in:
Sebastian "Sebbie" Silbermann
2025-09-17 15:03:12 +02:00
committed by GitHub
parent 16df13b84c
commit 6a4c8f51fa
7 changed files with 71 additions and 11 deletions

View File

@@ -20,13 +20,11 @@ cd ../react-devtools-extensions
if [[ -n "$1" ]]; then
yarn build:$1
mv ./$1/build/ReactDevTools.zip ../../build/devtools/$1-extension.zip
mv ./$1/build/webpack-stats.*.json ../../build/devtools/
else
yarn build
for browser in chrome firefox edge; do
mv ./$browser/build/ReactDevTools.zip ../../build/devtools/$browser-extension.zip
mv ./$browser/build/webpack-stats.*.json ../../build/devtools/
done
fi
# Compress all DevTools artifacts into a single tarball for easy download
cd ../../build/devtools
tar -zcvf ../devtools.tgz .