fix(vite-config): 移除对 index.page.vue 文件的特殊处理逻辑
This commit is contained in:
@@ -52,10 +52,10 @@ export const viteConfigRollupOptions: RollupOptions = {
|
||||
return 'lib-meta-layouts';
|
||||
}
|
||||
|
||||
if (id.includes('index.page.vue')) {
|
||||
/* if (id.includes('index.page.vue')) {
|
||||
const parentDir = path.basename(path.dirname(id));
|
||||
return `${parentDir}-index.page`;
|
||||
}
|
||||
} */
|
||||
|
||||
if (!id.includes('node_modules')) return;
|
||||
// 处理 pnpm 的特殊路径结构
|
||||
|
||||
Reference in New Issue
Block a user