Open fluffy-kaiju opened 5 months ago
Currently, to make monorepo SDK generation working, you should generate SDK library per each package.
I'll study how to, but cannot sure to be succeeded.
@fluffy-kaiju When use nestia you must compile your app by tsc and the default repo nestjs generate use webpack: true. So you have two way to make run correctly:
// project-name-npm-mono/nest-cli.json:
...
"compilerOptions": {
"deleteOutDir": true,
"webpack": false, // <<---- [1]
"tsConfigPath": "apps/project-name-npm/tsconfig.app.json"
},
...
or create config webpack config use tsc as compiler and transpileOnly: false
Question
Hi! I need to use Nestia on a Nest project with monorepo structure. Sadly, I get this error after enable monorepo mode.
Running
npx typia setup
don't help, by default, nest seems to use webpack [1] and the"plugin"
[2] option is setup intsconfig.json
I don't find any resource about using Nestia on monorepo, did I miss something ?
Here I've created a repo with the walkthrough of my test https://github.com/fluffy-kaiju/nestia-v3.2.1-nestjs-monorepo-issue
Thanks for your help :smile: