Skip to content

Commit

Permalink
chore(dev-server): Update readme & tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Mar 19, 2024
1 parent 60f0f21 commit cb03074
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions packages/dev-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ DB=sqlite npm run populate
## Testing custom ui extension compilation

In order to compile ui extensions within this monorepo, you need to add the following entry to
this package's `package.json` devDependencies:
the [temporary admin ui `tsconfig.json`](./custom-admin-ui/tsconfig.json) file:

```
"@vendure/admin-ui": "./packages/admin-ui/package",
"paths": {
"@vendure/admin-ui/*": ["../../admin-ui/package/*"]
}
```

and then run `npm install`. Make sure you already built the admin-ui package first.



## Load testing
Expand Down
5 changes: 4 additions & 1 deletion packages/dev-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
"module": "commonjs",
"sourceMap": true,
"jsx": "react",
"paths": {
"@vendure/admin-ui/*": ["../admin-ui/package/*"]
}
},
"exclude": [
"node_modules"
]
],
}

0 comments on commit cb03074

Please sign in to comment.