Improve removebloat.sh
This commit is contained in:
parent
83bef5b3d5
commit
229083d4e7
@ -3,17 +3,51 @@
|
|||||||
# It removes about 6MB from the build size.
|
# It removes about 6MB from the build size.
|
||||||
|
|
||||||
cd www/node_modules
|
cd www/node_modules
|
||||||
rm -rf array-parallel
|
rm -rf ansicolors
|
||||||
rm -rf codemirror
|
rm -rf buffer-from
|
||||||
rm -rf codemirror-spell-checker
|
rm -rf cardinal
|
||||||
|
rm -rf concat-stream
|
||||||
|
rm -rf core-util-is
|
||||||
|
rm -rf csscolorparser
|
||||||
rm -rf dom7
|
rm -rf dom7
|
||||||
rm -rf matches-selector
|
rm -rf earcut
|
||||||
|
rm -rf esm
|
||||||
|
rm -rf esprima
|
||||||
|
rm -rf expect.js
|
||||||
|
rm -rf geojson-vt
|
||||||
|
rm -rf gl-matrix
|
||||||
|
rm -rf grid-index
|
||||||
|
rm -rf ieee754
|
||||||
|
rm -rf inherits
|
||||||
|
rm -rf isarray
|
||||||
|
rm -rf kdbush
|
||||||
|
rm -rf @mapbox
|
||||||
|
rm -rf minimist
|
||||||
|
rm -rf murmurhash-js
|
||||||
rm -rf path-to-regexp
|
rm -rf path-to-regexp
|
||||||
|
rm -rf pbf
|
||||||
|
rm -rf potpack
|
||||||
|
rm -rf process-nextick-args
|
||||||
|
rm -rf protocol-buffers-schema
|
||||||
|
rm -rf quickselect
|
||||||
|
rm -rf readable-stream
|
||||||
|
rm -rf redeyed
|
||||||
|
rm -rf resolve-protobuf-schema
|
||||||
|
rm -rf rw
|
||||||
|
rm -rf safe-buffer
|
||||||
|
rm -rf sharkdown
|
||||||
|
rm -rf split
|
||||||
rm -rf ssr-window
|
rm -rf ssr-window
|
||||||
|
rm -rf stream-spigot
|
||||||
|
rm -rf string_decoder
|
||||||
|
rm -rf supercluster
|
||||||
rm -rf template7
|
rm -rf template7
|
||||||
rm -rf throttleit
|
rm -rf through
|
||||||
rm -rf tiny-emitter
|
rm -rf tinyqueue
|
||||||
rm -rf typo-js
|
rm -rf typedarray
|
||||||
|
rm -rf util-deprecate
|
||||||
|
rm -rf vt-pbf
|
||||||
|
rm -rf wgs84
|
||||||
|
|
||||||
cd @fortawesome/fontawesome-free
|
cd @fortawesome/fontawesome-free
|
||||||
rm -rf js
|
rm -rf js
|
||||||
@ -34,5 +68,27 @@ rm -rf lazy-components
|
|||||||
rm -rf less
|
rm -rf less
|
||||||
rm -rf modules
|
rm -rf modules
|
||||||
rm -rf utils
|
rm -rf utils
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd leaflet
|
||||||
|
rm -rf src
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd mapbox-gl
|
||||||
|
rm -rf build
|
||||||
|
rm -rf flow-typed
|
||||||
|
rm -rf node_modules
|
||||||
|
rm -rf src
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd mapbox-gl-leaflet
|
||||||
|
rm -rf examples
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd qrcode-generator
|
||||||
|
rm -f qrcode.d.ts
|
||||||
|
rm -f qrcode_*
|
||||||
|
rm -r sample.*
|
||||||
|
rm -rf test
|
||||||
|
|
||||||
echo "Cleanup finished"
|
echo "Cleanup finished"
|
Loading…
x
Reference in New Issue
Block a user