-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Description
When using Vitest, I get warnings like:
Sourcemap for "mypath/node_modules/.pnpm/redis@5.10.0/node_modules/redis/dist/index.js" points to missing source files
The published sourcemap references source files that aren't included in the package.
Suggested fix: Enable inlineSources in tsconfig.json to embed the source content directly in the .map files:
{
"compilerOptions": {
"sourceMap": true,
"inlineSources": true
}
}This resolves the warnings without adding extra files to the package.
Node.js Version
v24.11.0
Redis Server Version
No response
Node Redis Version
5.10.0
Platform
MacOS
Logs
Sourcemap for "mypath/node_modules/.pnpm/redis@5.10.0/node_modules/redis/dist/index.js" points to missing source files