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
Is there a way to have it resolve aliases via the Typescript paths setting in tsconfig.json?
Out of the box, code that compiles fine with rescripts start does not compile with the setup described in the readme here (i.e. just CracoEsbuildPlugin configured in craco.config.js, nothing else) and craco start -- compilation fails on module resolution for any alias.
I noticed that esbuild itself theoretically has support for this (see here) though apparently not without the --bundle flag set. Is that the limitation here? Or is this something that needs to be configured in some particular way for craco?
The text was updated successfully, but these errors were encountered:
Thanks for this great plugin!
Is there a way to have it resolve aliases via the Typescript
paths
setting intsconfig.json
?Out of the box, code that compiles fine with
rescripts start
does not compile with the setup described in the readme here (i.e. justCracoEsbuildPlugin
configured incraco.config.js
, nothing else) andcraco start
-- compilation fails on module resolution for any alias.I noticed that esbuild itself theoretically has support for this (see here) though apparently not without the
--bundle
flag set. Is that the limitation here? Or is this something that needs to be configured in some particular way forcraco
?The text was updated successfully, but these errors were encountered: