phero
phero copied to clipboard
Directory assumptions
We assume things about dist
and src
in server and client projects, which we've worked around in the examples by adding the following in tsconfig
:
"outDir": "./dist",
"rootDir": "./src",
Also check for other places in server/client generation
- [ ] Server: read tsconfig to find out where the source is for samen.ts (now src)
- [ ] Server: read tsconfig to find out where to build to (now dist)
- [ ] Check out: https://github.com/samen-io/samen/blob/next-gen/packages/server/src/commands/build.ts#L27-L32
- [ ] Client: read tsconfig to find out where the source is for samen.generated.ts (now src)