-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Recent updates to the modern-treasury
package now appear to be causing build errors due to in incorrect import:
node_modules/.pnpm/[email protected]/node_modules/modern-treasury/src/index.ts:4:21 - error TS2307: Cannot find module './internal/qs.js' or its corresponding type declarations.
4 import * as qs from "./internal/qs.js";
~~~~~~~~~~~~~~~~~~
Found 1 error(s).
This error is occurring on versions 2.37.0
and 2.38.0
.
Browsing the previous versions on npm, I can confirm that the import in src/index.ts
was originally a directory path in 2.36.3
, which would then import ./internal/qs/index.ts
:
import * as qs from './internal/qs';
But starting with 2.37.0
, it now tries to import a qs.js
file, which does not exist:
import * as qs from "./internal/qs.js";
Metadata
Metadata
Assignees
Labels
No labels