[PR #5403] fix(build): use correct import path for solid-plugin #11385

Closed
opened 2026-02-16 18:16:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5403

State: closed
Merged: No


The build script was importing solid-plugin using a relative path to node_modules, which breaks TypeScript resolution. The @opentui/solid package exports a bun-plugin path that we should use instead.

This changes the import to use the package export @opentui/solid/bun-plugin, which properly resolves through the package's exports field. The import is moved after process.chdir to ensure proper resolution.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5403 **State:** closed **Merged:** No --- The build script was importing solid-plugin using a relative path to node_modules, which breaks TypeScript resolution. The @opentui/solid package exports a bun-plugin path that we should use instead. This changes the import to use the package export @opentui/solid/bun-plugin, which properly resolves through the package's exports field. The import is moved after process.chdir to ensure proper resolution.
yindo added the pull-request label 2026-02-16 18:16:13 -05:00
yindo closed this issue 2026-02-16 18:16:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11385