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".
This commit is contained in:
Loongphy
2026-08-03 06:50:04 +08:00
committed by Oyster Lee
parent b4416909f5
commit 6956615f66
+1 -1
View File
@@ -31,7 +31,7 @@
}, },
"pi": { "pi": {
"extensions": [ "extensions": [
"./src/index.ts" "./dist/index.js"
] ]
}, },
"devDependencies": { "devDependencies": {