Commit Graph

3 Commits

Author SHA1 Message Date
07akioni
673e794d74 chore: add usage comment in bable.config.js and postcss.config.js 2020-11-12 20:11:46 +08:00
07akioni
cbb77b97e3 fix: set postcss.options.cssnano.colormin to false
Since on development, the sass file will pass colormin, its color may be transfrom by cssnano. In that case, some colors in the color scheme won't be accessible by ui itself. But it can be turned on in production mode, because at that time the color scheme file won't pass the sass loader but a naive rollup plugin, the color won't be changed anymore.
2020-05-30 16:43:28 +08:00
07akioni
5455cbe5ae build: use postcss & cssnano to generate css files 2019-12-30 13:15:57 +08:00