Skip to content

Commit

Permalink
Add paths compilerOptions for local packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Dec 12, 2019
1 parent bffdc2d commit 5e7406b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"moduleResolution": "node",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"checkJs": true,
Expand All @@ -20,6 +21,11 @@
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */

"baseUrl": ".",
"paths": {
"@wordpress/*": [ "./packages/*/src" ]
}
},
"include": [
"./packages/a11y/**/*.js",
Expand Down

0 comments on commit 5e7406b

Please sign in to comment.