mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-25 16:02:26 +08:00

- [Why do I need `.js` extension?](https://stackoverflow.com/a/77150985/6512681) - [Why setting `rootDir` in the `tsconfig.json`?](https://stackoverflow.com/a/58941798/6512681) - [How to ensure that we add the `.js` extension via ESLint](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/extensions.md#importextensions) Fixes https://github.com/microsoft/playwright-mcp/issues/302
17 lines
299 B
JSON
17 lines
299 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "nodenext",
|
|
"strict": true,
|
|
"module": "NodeNext",
|
|
"rootDir": "src",
|
|
"outDir": "./lib",
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": [
|
|
"src",
|
|
],
|
|
}
|