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 cdd8e91 commit 44bcbd9Copy full SHA for 44bcbd9
packages/start-plugin-core/src/create-server-fn-plugin/plugin.ts
@@ -85,7 +85,7 @@ export function createServerFnPlugin(
85
code: {
86
// TODO apply this plugin with a different filter per environment so that .createMiddleware() calls are not scanned in server env
87
// only scan files that mention `.handler(` | `.createMiddleware()`
88
- include: [/\.handler\(/, /.createMiddleware\(\)/],
+ include: [/\.\s*handler\(/, /\.\s*createMiddleware\(\)/],
89
},
90
91
async handler(code, id) {
0 commit comments