libremesh / lime-app

Geek-free Web App for setup and mantainance of Libremesh nodes built on Preact
https://libremesh.github.io/lime-app/
GNU Affero General Public License v3.0
51 stars 27 forks source link

Feature/add tailwindcss #370

Closed selankon closed 1 year ago

selankon commented 1 year ago

Add tailwindcss

selankon commented 1 year ago

At this point 19234bb the production build is

du -sh build  
812K    build

After add TS the bundle size is

 du -sh build  
808K    build

On ed8a8f3 (before add TS and TailwindCSS) the production bundle size was:

➜ du -sh build
664K    build
selankon commented 1 year ago

After talking here, this are the new bundle sizes to compare:

rm -rf node_modules && npm i && npm run build:production && du -sh build/bundle.*
424K    build/bundle.3d1b4.js
20K     build/bundle.7879a.css
20K     build/bundle.7879a.css
568K    build/bundle.d4e2f.js
24K     build/bundle.d9709.css
568K    build/bundle.df2ad.js