1
0
mirror of synced 2025-12-29 09:00:12 -05:00

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:
Siddharth Suresh
2024-01-05 00:14:03 +05:30
committed by GitHub
parent 89d3d0279e
commit e8fd12e4f9
3 changed files with 118 additions and 112 deletions

View File

@@ -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"
}