Skip to content

Commit

Permalink
Add jsconfig.json to improve VSCode intellisense
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Oct 29, 2019
1 parent 5eee583 commit 9be8530
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"checkJs": true,
"lib": ["dom", "es5"],
"moduleResolution": "node",
"jsx": "react",
"baseUrl": ".",
"paths": {
"preact": ["."],
"preact/hooks": ["./hooks"],
"preact/compat": ["./compat"],
"preact/debug": ["./debug"]
}
},
"exclude": ["node_modules", "dist", "demo"]
}

0 comments on commit 9be8530

Please sign in to comment.