bluwy / create-vite-extra

Extra Vite templates
MIT License
370 stars 55 forks source link

fix(ssr): close #38, correct ssr-manifest.json's path #39

Closed BuptStEve closed 9 months ago

BuptStEve commented 9 months ago

https://vitejs.dev/guide/migration.html#manifest-files-are-now-generated-in-vite-directory-by-default

Manifest files are now generated in .vite directory by default In Vite 4, the manifest files (build.manifest and build.ssrManifest) were generated in the root of build.outDir by default.

From Vite 5, they will be generated in the .vite directory in the build.outDir by default. This change helps deconflict public files with the same manifest file names when they are copied to the build.outDir.