-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
feat: deps optimizerEsbuild Dependencies OptimizationEsbuild Dependencies Optimizationpending triage
Description
Describe the bug
Actual
The @histoire/vendors
dep files are loaded into the page twice, one time without hash and one time with an hash.
Expected
The files are loaded once.
Reproduction
https://github.com/Akryum/vite-issue-duplicate-dep
System Info
System:
OS: Linux 5.18 Fedora Linux 36 (Workstation Edition)
CPU: (24) x64 AMD Ryzen 9 3900XT 12-Core Processor
Memory: 37.38 GB / 62.71 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Browsers:
Chrome: 104.0.5112.79
Firefox: 103.0.1
npmPackages:
vite: ^3.0.7 => 3.0.7
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
feat: deps optimizerEsbuild Dependencies OptimizationEsbuild Dependencies Optimizationpending triage