Skip to content

SSR using ModuleRunner API

Feedback

Give us feedback at Environment API feedback discussion

server.ssrLoadModule has been replaced by Module Runner.

Affect scope: Vite Plugin Authors

Future Deprecation

ModuleRunner was first introduce in v6.0. The deprecation of server.ssrLoadModule is planned for a future major. To identify your usage, set future.removeSrLoadModule to "warn" in your vite config.

Motivation

// TODO:

Migration Guide

// TODO:

Released under the MIT License. (b80d5ecb)