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-07-31 06:37:45 +08:00
parent 3af6bde995
commit 6d9635e52c
+1 -1
View File
@@ -31,7 +31,7 @@
}, },
"pi": { "pi": {
"extensions": [ "extensions": [
"./src/index.ts" "./dist/index.js"
] ]
}, },
"devDependencies": { "devDependencies": {