We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2376463 commit c57f6a3Copy full SHA for c57f6a3
src/index.ts
@@ -119,7 +119,7 @@ async function buildHandler(
119
debug(
120
`experimental \`route-bundling\` detected - generating single entrypoint`,
121
);
122
- const handlerFiles = await glob('api/**/*.rs', workPath);
+ const handlerFiles = await glob('api/**/[!main]*.rs', workPath);
123
const routes = generateRoutes(Object.keys(handlerFiles));
124
125
return {
0 commit comments