mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[DevTools] Store Webpack stats when building extensions (#34514)
This commit is contained in:
committed by
GitHub
parent
16df13b84c
commit
6a4c8f51fa
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user