Commit d14d24f
authored
📦 Use bundler (#19)
Uses esbuild to bundle the output. This (neglibly) reduces packed size,
but enables better DX for developing css-typed (ex: allows TypeScript).
It does not bundle its dependencies to allow for sharing dependencies in
consumer packages.
| | Before | After | Diff |
| :------: | ------: | -----: | :--: |
| packed | 5.8 kB | 4.4 kB | -24% |
| unpacked | 13.7 kB | 9.2 kB | -33% |
Closes #71 parent 09c3302 commit d14d24f
File tree
6 files changed
+582
-133
lines changed- .github/workflows
- scripts
- src
6 files changed
+582
-133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | | - | |
| 119 | + | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
| |||
0 commit comments