diff --git a/package.json b/package.json index e92fca09a..976a93d0f 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "files": [ "build/src", "LICENSE", - "!*.tsbuildinfo" + "!*.tsbuildinfo", + "!*.js.map" ], "repository": "ChromeDevTools/chrome-devtools-mcp", "author": "Google LLC", diff --git a/tests/index.test.ts b/tests/index.test.ts index a1c7765bb..0ea865da9 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -169,6 +169,7 @@ async function getToolsWithFilteredCategories( const definedNames = []; for (const file of files) { if ( + !file.endsWith('.js') || file === 'ToolDefinition.js' || file === 'tools.js' || file === 'slim' diff --git a/tsconfig.json b/tsconfig.json index 11701f18e..d1dd1a16e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,6 +19,7 @@ "noImplicitOverride": true, "noFallthroughCasesInSwitch": true, "incremental": true, + "sourceMap": true, "allowJs": true, "useUnknownInCatchVariables": false },