File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ // 开发期间使用
1
2
import { defineConfig } from "./dist/index.mjs" ;
2
3
3
4
export default defineConfig ( {
Original file line number Diff line number Diff line change 71
71
"release-it" : " ^16.1.5" ,
72
72
"simple-git-hooks" : " ^2.9.0" ,
73
73
"typescript" : " ^5.1.6" ,
74
- "unbuild" : " ^2.0.0-rc.0"
74
+ "unbuild" : " ^2.0.0-rc.0" ,
75
+ "code-genius" : " ./dist"
75
76
},
76
77
"dependencies" : {
77
78
"boxen" : " ^7.1.1" ,
Original file line number Diff line number Diff line change @@ -379,5 +379,6 @@ export async function loadConfigModule(): Promise<
379
379
}
380
380
381
381
if ( ! resolvedPath ) return ;
382
- return ( await import ( pathToFileURL ( resolvedPath ) . href ) ) . default ;
382
+ const moduleURL = pathToFileURL ( resolvedPath ) . href ;
383
+ return ( await import ( moduleURL ) ) . default ;
383
384
}
You can’t perform that action at this time.
0 commit comments