Closed fleonard closed 1 year ago
Have you read the discussion since this post btw? Perhaps this is relevant.
You quoted so many good configs here. What exactly is happening and what the problem is would be clear on a working example. May be create a repo and put configs there? Then it will be visible, what exactly is going on.
Ended up migrating to Vite so close this one
I'm having some trouble with aliases after migrating to CRA5 and Craco 7 and using your plugin since the one I was using before has been deprecated. I was wondering if you might help understanding what I've set up wrong since I followed your example and I still having some issues both when running dev and also when running tests.
This is my
tsconfig.paths.json
This is my craco config
And I've also added like in your example a
config-overrides.js
like the followingBut I'm still having trouble around some imports, any idea? seems like these 2 are clashing and Webpack is not able to resolve the correct one but only in certain instances