nezamy
nezamy
WWasp-lang
Created by nezamy on 7/28/2024 in #🙋questions
tsconfig paths alias
@sodic No problem, I decided to Not using aliases for now, I changed the paths and it's built successfully. thanks
18 replies
WWasp-lang
Created by nezamy on 7/28/2024 in #🙋questions
tsconfig paths alias
@sodic I created public repo in this link https://github.com/nezamy/wasp-saas It's from open-saas template but I changed the UI and used shadcn UI thanks for your time 🙏
18 replies
WWasp-lang
Created by nezamy on 7/28/2024 in #🙋questions
tsconfig paths alias
Yes sure, I need help the issue is tsconfig in both .wasp/build .wasp/out regenerated every time i run wasp build i'm trying to add this to tsconfig in .wasp/out
"baseUrl": ".",
"paths": {
"@/*": ["./ext-src/*"],
"@ui/*": ["./ext-src/client/components/ui/*"],
}
"baseUrl": ".",
"paths": {
"@/*": ["./ext-src/*"],
"@ui/*": ["./ext-src/client/components/ui/*"],
}
it's works in dev mode only
18 replies
WWasp-lang
Created by nezamy on 7/28/2024 in #🙋questions
tsconfig paths alias
Thanks @sodic for replaying I edited the generated config in dev mod but I cannot edit them when build for production May I suggest to add default alias like @src or @ to the next update . that will be great
18 replies
WWasp-lang
Created by nezamy on 7/28/2024 in #🙋questions
tsconfig paths alias
Is there possible way to use alias like that uses in wasp file @src but in client or server files?
18 replies