Browse Source

Improve bloat script some more

master
Skylar Ittner 3 months ago
parent
commit
014f1260ce
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      removebloat.sh

+ 5
- 0
removebloat.sh View File

@@ -56,6 +56,7 @@ rm -rf less
56 56
 rm -rf scss
57 57
 rm -rf sprites
58 58
 rm -rf svgs
59
+find css -type f -not -name 'all.min.css' -delete
59 60
 cd ../..
60 61
 
61 62
 cd jquery
@@ -69,10 +70,14 @@ rm -rf lazy-components
69 70
 rm -rf less
70 71
 rm -rf modules
71 72
 rm -rf utils
73
+rm -f framework7.*
74
+find css -type f -not -name 'framework7.bundle.min.css' -delete
75
+find js -type f -not -name 'framework7.bundle.min.js' -delete
72 76
 cd ..
73 77
 
74 78
 cd leaflet
75 79
 rm -rf src
80
+find dist -type f -not -name 'leaflet.css' -not -name 'leaflet.js' -delete
76 81
 cd ..
77 82
 
78 83
 cd mapbox-gl

Loading…
Cancel
Save