From fa84b6d6c3887b91c2ad0acf22040cb2e3de459d Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Thu, 9 Apr 2026 00:38:21 +0800 Subject: [PATCH] refactor: `?modulePath` sub-build output strategy --- src/plugins/modulePath.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/modulePath.ts b/src/plugins/modulePath.ts index 21359d5..fffb33b 100644 --- a/src/plugins/modulePath.ts +++ b/src/plugins/modulePath.ts @@ -1,4 +1,3 @@ -import path from 'node:path' import { type Plugin, type InlineConfig, type Rolldown, build as viteBuild, mergeConfig } from 'vite' import MagicString from 'magic-string' import { cleanUrl, toRelativePath } from '../utils' @@ -100,9 +99,10 @@ async function bundleEntryFile(input: string, config: InlineConfig): Promise