mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:13:40 +08:00
refactor: refactor route
This commit is contained in:
@@ -17,8 +17,8 @@ const dynamicImportTransform = function (enableDynamicImport: boolean): Transfor
|
||||
test({ path }) {
|
||||
// Only convert the file
|
||||
return (
|
||||
path.includes('/src/utils/helper/dynamicImport.ts') ||
|
||||
path.includes(`\\src\\utils\\helper\\dynamicImport.ts`)
|
||||
path.includes('/src/router/helper/dynamicImport.ts') ||
|
||||
path.includes(`\\src\\router\\helper\\dynamicImport.ts`)
|
||||
);
|
||||
},
|
||||
transform({ code }) {
|
||||
|
Reference in New Issue
Block a user