playwright/tsconfig.json
2022-03-28 18:21:19 -07:00

35 lines
899 B
JSON

{
"compilerOptions": {
"target": "ES2019",
"module": "commonjs",
"lib": ["esnext", "dom", "DOM.Iterable"],
"baseUrl": ".",
"paths": {
/*
The following two serve different purposes:
- @playwright-core is for importing types only,
- playwright-core/lib means require dependency
*/
"@playwright-core/*": ["./packages/playwright-core/src/*"],
"playwright-core/lib/*": ["./packages/playwright-core/src/*"]
},
"esModuleInterop": true,
"strict": true,
"allowJs": true,
"jsx": "react",
"resolveJsonModule": true,
"noEmit": true,
"noImplicitOverride": true,
"useUnknownInCatchVariables": false,
},
"compileOnSave": true,
"include": ["packages"],
"exclude": [
"packages/*/lib",
"packages/html-reporter",
"packages/recorder",
"packages/trace-viewer",
"packages/web",
],
}