From 6956615f6664b51ba87a84042fa4ee2d2e2d2c08 Mon Sep 17 00:00:00 2001 From: Loongphy Date: Fri, 31 Jul 2026 06:37:45 +0800 Subject: [PATCH] fix: pi.extensions path should point to dist/index.js instead of src/index.ts The "files" field in package.json only includes "dist" and "README.md", so src/index.ts is not available in the published npm package. This was introduced in commit 1b110a6 ("fix index") which changed the path from the correct "./dist/index.js" to "./src/index.ts". --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2e619d7..a0f4a39 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "pi": { "extensions": [ - "./src/index.ts" + "./dist/index.js" ] }, "devDependencies": {