From bb232247d094b22d497a036c21d4c4a722700a38 Mon Sep 17 00:00:00 2001 From: Dax Date: Tue, 10 Mar 2026 13:11:36 -0400 Subject: Fix ESM imports for @opencode-ai/plugin (#16916) --- packages/plugin/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/plugin/tsconfig.json') diff --git a/packages/plugin/tsconfig.json b/packages/plugin/tsconfig.json index 58072c81c..117381878 100644 --- a/packages/plugin/tsconfig.json +++ b/packages/plugin/tsconfig.json @@ -3,9 +3,9 @@ "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { "outDir": "dist", - "module": "preserve", + "module": "nodenext", "declaration": true, - "moduleResolution": "bundler", + "moduleResolution": "nodenext", "lib": ["es2022", "dom", "dom.iterable"] }, "include": ["src"] -- cgit v1.2.3