You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case I am importing a TSconfig for other stuff in the build script, and I don't see why I couldn't just pass the JSON directly to the loading, instead of giving it a name instead?
import * as TSconfig from "./tsconfig.dir.json"
Btw, you got the right idea here.
There needs to be a single source of truth for these things, and all the other libraries need to just infer from it.
Every other library seems to spread thoses aliases into different parts.
Personally, I think Yarn (Berry) has it right, by keeping the aliases as the other packages, but it doesn't work so well with Rollup.
TSConfig is the next best thing
The text was updated successfully, but these errors were encountered:
In my case I am importing a
TSconfig
for other stuff in the build script, and I don't see why I couldn't just pass the JSON directly to the loading, instead of giving it a name instead?import * as TSconfig from "./tsconfig.dir.json"
Btw, you got the right idea here.
There needs to be a single source of truth for these things, and all the other libraries need to just infer from it.
Every other library seems to spread thoses aliases into different parts.
Personally, I think Yarn (Berry) has it right, by keeping the aliases as the other packages, but it doesn't work so well with Rollup.
TSConfig is the next best thing
The text was updated successfully, but these errors were encountered: