Fix: windows slash correction for rpc resolvers (#4269)
* add slash to both absolute path and resolver import * Update pr-release.yml * pnpm lock fix * fix * Create slow-papayas-beam.md
This commit is contained in:
@@ -66,9 +66,9 @@ export async function transformBlitzRpcServer(
|
||||
|
||||
const importStrategy = options?.resolversDynamicImport ? "import" : "require"
|
||||
|
||||
code += `__internal_addBlitzRpcResolver('${routePath}','${resolverFilePath}',() => ${importStrategy}('${slash(
|
||||
code += `__internal_addBlitzRpcResolver('${routePath}','${slash(
|
||||
resolverFilePath,
|
||||
)}'));`
|
||||
)}',() => ${importStrategy}('${slash(resolverFilePath)}'));`
|
||||
code += "\n"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user