From aa45c1cfb705af181b26f5e4cbca6db06ba8434d Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Mon, 23 Mar 2026 05:47:04 +0000 Subject: [PATCH] Revert "fix(create): use bundler module resolution in monorepo template (#1065)" (#1111) This reverts commit 4bc95a0ea76fbe40594405c35daf639e0d5cade0. https://github.com/sxzz/tsdown-templates/pull/14 tsdown's vite-plus template will set moduleResolution to nodenext --- packages/cli/templates/monorepo/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/templates/monorepo/tsconfig.json b/packages/cli/templates/monorepo/tsconfig.json index 78ae1bb1f5..c785f304a8 100644 --- a/packages/cli/templates/monorepo/tsconfig.json +++ b/packages/cli/templates/monorepo/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "noEmit": true, - "module": "preserve", - "moduleResolution": "bundler", + "module": "nodenext", + "moduleResolution": "nodenext", "allowImportingTsExtensions": true, "esModuleInterop": true }