Describe the bug
I posted this on the discord but I'm afraid it might get overlooked so here is the issue.
The monorepo template comes with the following ts config
"module": "nodenext",
"moduleResolution": "nodenext",
Which is ok but that breaks the rest of the repo.
Message:
Relative import paths need explicit file extensions in ECMAScript imports when --moduleResolution is node16 or nodenext. Consider adding an extension to the import path. (ts 2834)
I managed to get it working by changing them to this but not sure if it is the recommended.
"module": "preserve", "moduleResolution": "bundler"
Reproduction
https://github.com/voidzero-dev/vite-plus/issues
Steps to reproduce
vp create then select monorepo
- try to modify vite.config.ts

3. Check `/packages/utils/tests/index.test.ts` and you'll see the error on the line `import { fn } from "../src";`
System Info
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.0
Source engines.node
Source Path /Users/wladpaiva/Developer/f/testando-ts/package.json
Project Root /Users/wladpaiva/Developer/f/testando-ts
Tool Paths:
node /Users/wladpaiva/.vite-plus/js_runtime/node/24.14.0/bin/node
npm /Users/wladpaiva/.vite-plus/js_runtime/node/24.14.0/bin/npm
npx /Users/wladpaiva/.vite-plus/js_runtime/node/24.14.0/bin/npx
VITE+ - The Unified Toolchain for the Web
vp v0.1.12
Local vite-plus:
vite-plus v0.1.12
Tools:
vite v8.0.0
rolldown v1.0.0-rc.9
vitest v4.1.0
oxfmt v0.40.0
oxlint v1.55.0
oxlint-tsgolint v0.17.0
tsdown v0.21.3
Environment:
Package manager pnpm v10.32.1
Node.js v>=22.12.0 (engines.node)
Used Package Manager
pnpm
Logs
Validations
Describe the bug
I posted this on the discord but I'm afraid it might get overlooked so here is the issue.
The monorepo template comes with the following ts config
Which is ok but that breaks the rest of the repo.
Message:
I managed to get it working by changing them to this but not sure if it is the recommended.
Reproduction
https://github.com/voidzero-dev/vite-plus/issues
Steps to reproduce
vp createthen select monorepoSystem Info
Used Package Manager
pnpm
Logs
Validations