vite-ssr icon indicating copy to clipboard operation
vite-ssr copied to clipboard

Vite 3.0.0 and 3.1.0 support

Open yuriifabirovskyi opened this issue 2 years ago • 1 comments

I noticed 2 problems. Maybe there is more.

  1. Starting with vite 3.0.0, the server entry point is built as main.mjs instead of main.js, as it was before.
  2. Assets folder is building in server mode in v3.1.0. image

yuriifabirovskyi avatar Sep 08 '22 09:09 yuriifabirovskyi

vite文档上有 vite.config.js ssr: { format: 'cjs', },

gitsheny avatar Sep 15 '22 07:09 gitsheny