#Problems with SWC on a monorepo app
12 messages · Page 1 of 1 (latest)
It's usually an issue with the path setup. SWC needs special setup in terms of the paths. Also, when you say "monorepo application", do you mean Nest CLI's monorepo mode?
yes, I have the apps folder with all my apps inside, as you can see here
Ok. Just wanted to be sure. I'd also suggest not using it, but it looks like you are deep into it. The monorepo mode was made many moons ago, before real monorepo managers became a more well-known thing. You'll find Nest CLI's monorepo mode very inhibiting in the end.
when running with the default webpack there are no problems at all. the application runs fine.
yeah the application is already structured with the monorepo mode and it has thousands of code
still thanks for the advice I will not use it on my future projects
Play with the paths setting.
i will try it, do you need to see any file to help you understand my problem?
I know I ran into this issue with SWC and it was the paths not being quite right. I don't remember what I changed though.
You'll need to figure this one out yourself. 🤷🏻♂️
okay, I will come back if I figure it out. thanks for helping me where to start