Is vite plugin that has virtual modules externalize in SSR? · vitejs vite · Discussion #9356 · GitHub
![Error in build: Named export. The requested module is a CommonJS module in antfu Vite SSG - Lightrun Error in build: Named export. The requested module is a CommonJS module in antfu Vite SSG - Lightrun](https://lightrun.com/wp-content/uploads/2023/01/antfu-Vite-SSG.png)
Error in build: Named export. The requested module is a CommonJS module in antfu Vite SSG - Lightrun
![question] Cannot find module 'virtual:generated-pages' or its corresponding type declarations · Issue #27 · hannoeru/vite-plugin-pages · GitHub question] Cannot find module 'virtual:generated-pages' or its corresponding type declarations · Issue #27 · hannoeru/vite-plugin-pages · GitHub](https://user-images.githubusercontent.com/16288797/112732345-bdebdc80-8f7c-11eb-9496-dba9b4bd228b.png)
question] Cannot find module 'virtual:generated-pages' or its corresponding type declarations · Issue #27 · hannoeru/vite-plugin-pages · GitHub
Evan You on Twitter: "The result is we can reuse Vite's internal module graph and only invalidate a minimal set of the modules when files are edited. Kinda like server side HMR!" /
![question] Cannot find module 'virtual:generated-pages' or its corresponding type declarations · Issue #27 · hannoeru/vite-plugin-pages · GitHub question] Cannot find module 'virtual:generated-pages' or its corresponding type declarations · Issue #27 · hannoeru/vite-plugin-pages · GitHub](https://user-images.githubusercontent.com/1283842/112748241-2fe71480-8fc3-11eb-8445-55c40956ca9a.png)