Skip to content

Commit ed9239a

Browse files
committed
fix: error build entry path (#245)
1 parent cbda6c1 commit ed9239a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite-plugin-monkey/src/node/plugins/buildBundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const buildBundleFactory = (
8585
}
8686
codes.push(`import '${cssModuleEntryId}';`);
8787
}
88-
codes.push(...e.map((c) => `import '${c.fileName}';`));
88+
codes.push(...e.map((c) => `import './${c.fileName}';`));
8989
return codes.join('\n');
9090
})();
9191

0 commit comments

Comments
 (0)