Repository navigation
Commit d635fe1
committed
Build: Depend on the published @semantic-ui/utils, so the router installs anywhere
The core package read utils through the house's local link, file:../../../next/packages/utils,
which only resolves with next checked out beside the repo. utils 0.18.0 is on npm with the three
names the router imports beyond 0.17.0, isDate, markTimeline and measureTimeline, so the package
depends on ^0.18.0 and the lock pins the registry tarball. Its exports list the source entry
before the browser bundle, so a bundler and vite resolve the source as before.
Measured against the registry copy and unchanged: core 11,888 B br with utils bundled, scaffold
1,828, dom plugin 1,141, integration 441.1 parent 6eaeed7 commit d635fe1
2 files changed
Lines changed: 9 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments