You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing SSR using your own server (Express for example), it would be helpful to be able to hook into the existing functionality provided by the helpers at build-import-proxy.ts (more specifically: wrapHtmlResponse).
This is currently not possible, because the exports of the Snowpack package.json prevents low-level access. Therefor, it would be good to consider exporting them as part of the public JS api.
Also, the handleRequest method of SnowpackDevServer is not actually documented anywhere - however, it's extremely useful when using a custom server.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When performing SSR using your own server (Express for example), it would be helpful to be able to hook into the existing functionality provided by the helpers at
build-import-proxy.ts
(more specifically: wrapHtmlResponse).This is currently not possible, because the
exports
of the Snowpackpackage.json
prevents low-level access. Therefor, it would be good to consider exporting them as part of the public JS api.Also, the
handleRequest
method ofSnowpackDevServer
is not actually documented anywhere - however, it's extremely useful when using a custom server.Beta Was this translation helpful? Give feedback.
All reactions