diff --git a/lib/routes.ts b/lib/routes.ts index 4c5406130..d43706f7b 100644 --- a/lib/routes.ts +++ b/lib/routes.ts @@ -11,7 +11,7 @@ type Root = { }; const imports = directoryImport({ - targetDirectoryPath: './v2', + targetDirectoryPath: path.join(__dirname, './v2'), importPattern: /router\.js$/, });