The Wayback Machine - https://web.archive.org/web/20211016204410/https://github.com/infinitered/ignite/issues/1770
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use baseUrl in tsconfig for absolute paths #1770

Open
jamonholmgren opened this issue Aug 18, 2021 · 1 comment
Open

Use baseUrl in tsconfig for absolute paths #1770

jamonholmgren opened this issue Aug 18, 2021 · 1 comment

Comments

@jamonholmgren
Copy link
Member

@jamonholmgren jamonholmgren commented Aug 18, 2021

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

@majidln
Copy link

@majidln majidln commented Aug 31, 2021

I like to work on this issue @jamonholmgren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment