Major Changes
-
94c5efa: Release 1.0.0 introduces no breaking changes compared to previous releases.
This release establishes a stable baseline for future development, including upcoming releases focused on performance
and build-time optimizations.
Patch Changes
-
62fef83: Fix shaker keeping unused imports in eval bundles (named/namespace/side-effect imports), which could trigger build-time evaluation crashes (e.g.
@radix-ui/react-tooltip).@wyw-in-js/sharednow passesimportOverrides/rootthrough the evaluator config so the shaker can keep or mock side-effect imports when configured.Note: eval bundles for
__wywPrevalnow dropimport '...';side-effect imports by default, to avoid executing unrelated runtime code in Node.js during build. If you rely on a side-effect import at eval time, keep it or stub it viaimportOverrides:{ noShake: true }to keep the import (and disable tree-shaking for that dependency).{ mock: './path/to/mock' }to redirect the import to a mock module.
-
61fb173: Fix TypeScript consumer builds by shipping
@types/debugas a dependency (public.d.tsimportsdebug). -
64b7698: Prevent concurrent transforms from reusing cached actions with different handler instances by stabilizing resolvers across bundlers.
-
870b07b: Handle unknown/dynamic import specifiers without transform-time crashes, add
importOverrides(mock/noShake/unknown policy), and emit a deduped warning only when eval reaches Node resolver fallback (bundler-native where possible). -
2a8ab79: Extend
tagResolverwith a thirdmetaargument (sourceFile,resolvedSource) so custom tag processors can be resolved reliably.