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?
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
?