Alexander Davis
Alexander Davis
Thanks for the response! Here's a minimal reproduction: https://stackblitz.com/edit/vitejs-vite-qsba6t?file=src%2Fmain.test.tsx If you run `jest` in the console you will see an error importing generouted: I'm not importing `generouted` directly, I'm testing...
But `src/router` only imports `@generouted/react-router/client`, which looking at the [source code](https://github.com/oedotme/generouted/tree/main/packages/react-router/src/client) doesn't use `import.meta.glob` at all and only imports methods from `react-router-dom` The original use case I had was a...
I did some more debugging and added a `"require": "./dist/client/index.js"` to the `@generouted/react-router` `./client` export in my node_modules, here: https://github.com/oedotme/generouted/blob/8939c9dc0012c73b08b0b4a0ff2c334e6c0859c9/packages/react-router/package.json#L48C8-L48C14 Now I get a different error: ``` Jest encountered an...
The thing is I want to use `src/router.ts` so I can benefit from the type safety of generouted in my components. I want to keep using jest for testing them....
For me upgrading to 10.1.0 caused `ts-unused-exports` to stop reporting any unused exports when `ignoreLocallyUsed` is enabled. I had to downgrade to 10.0.1 Anyone else have the same issue?