nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Enable global `serve-placeholder` for runtime server

Open pi0 opened this issue 2 years ago • 1 comments

Currently, we have unjs/server-placeholder for dev server that prevents unnecessary service calls. However, this can be useful for production as well. We only need to also ensure it will be configurable before spreading.

pi0 avatar Apr 12 '22 17:04 pi0

Line to handle: https://github.com/unjs/nitro/blob/main/src/runtime/renderer.ts#L17

Atinux avatar Mar 04 '23 21:03 Atinux