]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
refactor: replace kolorist with kleur/colors
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 11 Oct 2024 11:47:08 +0000 (19:47 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 11 Oct 2024 12:16:29 +0000 (20:16 +0800)
commit03955554ae6c065810edb1d8cebdc633c8b31464
tree25de1195bfc33d2f619d273070204bc2070280c3
parenta9585103dc735596906adaceeb53fc83876b327f
refactor: replace kolorist with kleur/colors

The size of `outfile.cjs` before the change:
143037 bytes

Ater the change:
141514 bytes

Saved 1523 bytes.

I didn't choose `picocolors` despite it being more popular because
it doesn't support tree-shaking and actually increases the bundle size
a bit.

I didn't choose `yoctocolors` because the resulting bundle is also a bit
larger than the one produced by `kleur/colors`.

Addressed the issue raised in #253
LICENSE
index.ts
package.json
pnpm-lock.yaml