reactjsviteserver-side-renderingmanifest

How to get context.modules for vite react ssr-manifest.json


The manifest contains mappings of module IDs to their associated chunks and asset files.

I did't find context.modules for vite react ssr. The @vitejs/plugin-vue supports it for vue. What about the @vitejs/plugin-react?

Is there a vite plugin which supports context.modules for react SSR ?


Solution

  • I added a plugin to obtain module dependencies

    rollup-plugin-visualizer