refactor: replace @r1stack/core with classix
Closed this issue · 1 comments
jrson83 commented
Description
We could replace @r1stack/core
with classix as devDependencies
and include it in the bundle. It is 142
bytes minified & gzipped.
❯ npx howfat -r table classix
classix@2.1.34 (7.32kb, 6 files, ©MIT)
❯ npx howfat -r table @r1stack/core
@r1stack/core@0.4.4 (1 dep, 729.16kb, 56 files, ©MIT)
╭────────────┬──────────────┬──────────┬───────┬───────────┬─────────┬───────────╮
│ Name │ Dependencies │ Size │ Files │ Native │ License │ Deprec │
├────────────┼──────────────┼──────────┼───────┼───────────┼─────────┼───────────┤
│ zod@3.22.2 │ │ 601.61kb │ 46 │ │ MIT │ │
╰────────────┴──────────────┴──────────┴───────┴───────────┴─────────┴───────────╯
itsjavi commented
I released r1stack/cn and use it here for the same purpose of reducing size, so this is no longer necessary