Skip to content

@ai-sdk/workflow: package.json points to files that aren't published #16925

Description

@isimisi

@ai-sdk/workflow@1.0.17 publishes only dist/index.mjs and dist/index.d.mts, but package.json points elsewhere:

"main": "./dist/index.js",
"exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }

dist/index.js and dist/index.d.ts aren't in the tarball, so require('@ai-sdk/workflow') throws MODULE_NOT_FOUND. import() resolves fine via the import condition.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions