Skip to content

meteorlxy/vite-5-2-12-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite 5.2.12 Regression Reproduction

Install

pnpm install

Reproduction

pnpm build

Check the dist folder:

5.2.11/dist
├── assets
│   ├── style-DPbjpXsc.css
│   └── style-l0sNRNKZ.mjs
└── index.mjs
5.2.12/dist
├── assets
│   └── style-DPbjpXsc.css
└── index.mjs

The style-l0sNRNKZ.mjs file is removed in the 5.2.12 build, but it's still referenced in the index.mjs file.

const index = async () => {
  await import("./assets/style-l0sNRNKZ.mjs"); // <- This file is removed in 5.2.12, which will cause ERR_MODULE_NOT_FOUND during SSR
};
export {
  index as default
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published