Closed theKashey closed 5 years ago
Recently I've tried to use ts-react-toolbox in a monorepo, and it failed me :sadparrot:
build script uses relative path, and it always refer to a one location - literally project root.
generate tsconfig on the fly, using absolute paths from process.cwd, which reflect the project build script was called for.
tsconfig
process.cwd
Looks good, thanks for doing this @theKashey !
🙏 release a new version 🙏
Follow up - https://github.com/zzarcon/ts-react-toolbox/pull/9
Recently I've tried to use ts-react-toolbox in a monorepo, and it failed me :sadparrot:
Problem
build script uses relative path, and it always refer to a one location - literally project root.
Solution
generate
tsconfig
on the fly, using absolute paths fromprocess.cwd
, which reflect the project build script was called for.