One ESM import, two resolvers

Analytics 1.2.0 imports next/navigation without an extension. The build resolver accepts it. Plain Node ESM does not.

Pick a test path


    

Repair boundary

The docs-site Vitest config inlines @yonatan-hq/analytics, so Vite resolves the subpath during tests. The package remains unmodified. Yonatan-HQ/core, typescript/analytics, owns the upstream correction.