Skip to content

Commit

Permalink
Framework: Resolve WordPress package type imports (#18927)
Browse files Browse the repository at this point in the history
* Framework: Resolve WordPress package type imports

* Framework: Resolve non-tranpspiled package source

Co-Authored-By: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl>
  • Loading branch information
aduth and gziolo committed Dec 13, 2019
1 parent 3687e8b commit 112816a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tsconfig.json
Expand Up @@ -10,6 +10,15 @@
"resolveJsonModule": true,
"target": "esnext",

/* Project Imports */
"baseUrl": ".",
"paths": {
"@wordpress/*": [
"packages/*/index.js",
"packages/*/src/index.js"
]
},

/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"strictNullChecks": true,
Expand Down

0 comments on commit 112816a

Please sign in to comment.