Skip to content

Commit c83e76b

Browse files
authored
fix(vite): incorrect package path in windows (#4)
1 parent 5bd0229 commit c83e76b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/lina-vben/apps/web-antd/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function toViteFsPath(filePath: string) {
5858
const normalizedPath = normalizeFsPath(filePath);
5959
return normalizedPath.startsWith('/@fs/')
6060
? normalizedPath
61-
: `/@fs${normalizedPath}`;
61+
: `/@fs/${normalizedPath}`;
6262
}
6363

6464
function isPluginFrontendSourceFile(pluginRoot: string, filePath: string) {

0 commit comments

Comments
 (0)