Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.manifest: true with a worker causes only the manifest for the workers to be written #12720

Closed
7 tasks done
segevfiner opened this issue Apr 3, 2023 · 3 comments
Closed
7 tasks done
Labels
duplicate This issue or pull request already exists

Comments

@segevfiner
Copy link
Contributor

Describe the bug

Building a project with workers and build.manifest: true enabled will result in the generated manifest.json to only contain information about the workers.

Reproduction

https://stackblitz.com/edit/vitejs-vite-qxvavl?file=src/App.vue

Steps to reproduce

  1. Run vite build.
  2. You get the error The emitted file "manifest.json" overwrites a previously emitted file of the same name..
  3. The generated manifest.json only contains information for the workers.

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @vitejs/plugin-vue: ^4.1.0 => 4.1.0 
    vite: ^4.2.1 => 4.2.1

Used Package Manager

npm

Logs

Click to expand!
The emitted file "manifest.json" overwrites a previously emitted file of the same name.

Validations

@stackblitz
Copy link

stackblitz bot commented Apr 3, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@sapphi-red
Copy link
Member

Duplicate of #10190

@sapphi-red sapphi-red marked this as a duplicate of #10190 Apr 3, 2023
@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2023
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Apr 3, 2023
@sapphi-red
Copy link
Member

This was fixed by #12661 but not released yet.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants