Skip to content

Conversation

@elithrar
Copy link
Collaborator

@elithrar elithrar commented Dec 3, 2025

Fixes #49

The source files used relative imports without .js extensions:

import { Storage } from "../../storage/src/index";  // Missing .js

When TypeScript compiles with moduleResolution: "bundler", it doesn't add extensions. But since the package is ESM ("type": "module"), Node.js ESM resolution requires explicit .js extensions for relative imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use with vitest in integration tests

3 participants