You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be similar/related to #10057, however is relates to a failure to generate a complete manifest, not what the #10057 issue results in which is a build failure.
I have created a reproduction repo with a write up in the README there.
The generated manifest is stomped on during compilation. This looks like some kind of race condition where two
different processes build but do not coordinate to produce a unified final manifest (speculation) -??
Warning Output
$ yarn build
"rendering chunks (1)...The emitted file "manifest.json" overwrites a previously emitted file of the same name."
Error State
The manifest contains only one of the build assets:
Describe the bug
This appears to be similar/related to #10057, however is relates to a failure to generate a complete manifest, not what the #10057 issue results in which is a build failure.
I have created a reproduction repo with a write up in the README there.
Below is that README description of the issue.
Issue Sample
Context
When Vite uses a worker (which emits a seperate chunk in the production build) and is configured to export a build manifest, eg:
The generated manifest is stomped on during compilation. This looks like some kind of race condition where two
different processes build but do not coordinate to produce a unified final manifest (speculation) -??
Warning Output
$ yarn build
Error State
The manifest contains only one of the build assets:
While the actual
/dist
output folder contains two files:Reproduction
https://github.com/philcockfield/sample.vite.manifest-issue
System Info
System: OS: macOS 12.6 CPU: (8) arm64 Apple M1 Memory: 77.03 MB / 8.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.7.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.15.0 - /usr/local/bin/npm Browsers: Brave Browser: 105.1.43.93 Safari: 16.0 npmPackages: vite: ^3.1.0 => 3.1.3
Used Package Manager
yarn
Logs
Click to expand!
The text was updated successfully, but these errors were encountered: