Open
Description
Describe the bug
After using the packaging command, the prompt
Some chunks are larger than 500 kB after minification
I checked the generated file and found that the @localSearchIndexroot.DwawiV-k.js
file was too large, more than 800 kb.
Reproduction
Executing the build command will result in chunks exceeding 500kb
Expected behavior
How to keep chunks from exceeding 500kb or solve the source problem. The index file seems to be too large.
I will provide an index file produced by me in the attachment.
System Info
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 13th Gen Intel(R) CoreT i7-13800H
Memory: 17.23 GB / 31.74 GB
Binaries:
Node: 20.11.1 - ~\AppData\Local\pnpm\node.EXE
npm: 10.2.4 - ~\AppData\Local\pnpm\npm.CMD
pnpm: 8.15.4 - ~\AppData\Local\pnpm\pnpm.EXE
Browsers:
Edge: Chromium (122.0.2365.52)
Internet Explorer: 11.0.22621.1
npmPackages:
vitepress: ^1.1.3 => 1.1.3
Additional context
@localSearchIndexroot.DwawiV-k.zip
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.