Changelog - 2026-10-18
Decorators work in a split chunk without importing reflect-metadata first
Bug FixIn one line. @inject and the other decorators no longer depend on the order a bundler evaluates modules in.
What changed
@venizia/ignis-inversionimportsreflect-metadataitself. Vite 8 (Rolldown) can run a split chunk of decorated code before the package entry, which threwReflect.getMetadata is not a function. That no longer happens.
Who is affected
- Applications built with Vite 8. The
reflect-metadata-firstplugin workaround can go once this release is installed; keeping it does no harm. - Everyone else. No action needed.