ignite
ignite copied to clipboard
Use baseUrl in tsconfig for absolute paths
We should discuss/consider using baseUrl
in our tsconfig so we can change imports like this:
import { Thing } from "../../components/thing"
to this
import { Thing } from "components/thing"
Docs: https://www.typescriptlang.org/tsconfig#baseUrl
I like to work on this issue @jamonholmgren
This has been added to the cookbook!
https://infinitered.github.io/ignite-cookbook/docs/TypeScriptBaseURL
Hi @frankcalise , can we use absolute path without "~" ? I tried but not working, what you think?
@saeedghasemi72 did you update the config paths
?