Interesting things to notice:
- src/css/ has app-base, app-components and app-utilities split up.
- src/css/mine.css contains "my" styles.
- webpack
mode: 'development',is an important piece for performance. - I enabled all the colors in
tailwind.config.jsand also enableddarkMode, which results in a16 MBfile.
2 scripts:
yarn webpack-hmrrunswebpack servewith webpack dev serveryarn webpack-watchrunswebpack --watch
When one of those scripts are running, you can change the code inside mine.css and it should rebuild pretty fast.