I've got a project setup where I have a root tsconfig and tsconfigs for each "sub module" where I'm using aliases in each one. ~/ points to that modules dir, and ~shared points to a src/shared module. My tsconfigs seem to be correct and I can build my code with rollup and run it, but I get an error during that processs.
(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find module '~shared/utils' or its corresponding type declarations.
src/backend/index.ts: (2:32)
2 import { createResponse } from '~shared/utils';
I know thats coming from the rollup ts plugin, but I can't figure out why.
Run: npm run test:shared
https://codesandbox.io/p/devbox/dy9mvn