@kuratchi/js 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler/index.js +3 -1
- package/package.json +1 -1
package/dist/compiler/index.js
CHANGED
|
@@ -1671,7 +1671,9 @@ function buildRouteObject(opts) {
|
|
|
1671
1671
|
explicitLoadFunction = transpileTypeScript(explicitLoadFunction, `route-load:${pattern}.ts`);
|
|
1672
1672
|
}
|
|
1673
1673
|
const scriptReturnVars = parsed.script
|
|
1674
|
-
? parsed.dataVars.filter((v) => !queryVars.includes(v)
|
|
1674
|
+
? parsed.dataVars.filter((v) => !queryVars.includes(v) &&
|
|
1675
|
+
!parsed.actionFunctions.includes(v) &&
|
|
1676
|
+
!parsed.pollFunctions.includes(v))
|
|
1675
1677
|
: [];
|
|
1676
1678
|
// Load function �" internal server prepass for async route script bodies
|
|
1677
1679
|
// and data-get query state hydration.
|