mongodb-labs / full-stack-fastapi-mongodb

Full stack, modern web application generator. Using FastAPI, MongoDB as database, Docker, automatic HTTPS and more.
MIT License
498 stars 86 forks source link

Removing hardcoded paths #49

Closed Mrostgaard closed 1 month ago

Mrostgaard commented 4 months ago

https://github.com/mongodb-labs/full-stack-fastapi-mongodb/blob/bdc9590985d5b3a68b0f685dc266c0a348a1c3b2/%7B%7Bcookiecutter.project_slug%7D%7D/frontend/tsconfig.json#L22-L23

These should probably just look like:

"paths": {
      "@": ["./"],
      "@/*": ["./*"]
    }

Instead of the hardcoded path that exists at the moment.

Jibola commented 1 month ago

Thanks for the suggestion. We've merged the change!