From 2470092ac550160c56a81bf33c2a2f7ca22c98d2 Mon Sep 17 00:00:00 2001 From: Alexander Ziborov <1420883+San4es@users.noreply.github.com> Date: Thu, 19 Nov 2026 11:09:16 +0300 Subject: [PATCH] feat: add exports map so the OpenCode 2 loader resolves the plugin entry --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 51ac1a1..c0841d4 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,9 @@ "author": "Daniele \"mte90\" Scasciafratte", "type": "module", "main": "dist/index.js", + "exports": { + ".": "./dist/index.js" + }, "scripts": { "build": "bun run build:v1 && bun run build:v2", "build:v1": "bun build src/dispatch.ts --outfile dist/index.js --target bun",