\r\n```\n\n### Expected behavior\n\nsuccessfully \n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz\r\n Memory: 6.54 GB / 15.88 GB\r\n Binaries:\r\n Node: 16.13.0 - C:\\nodejs\\node.EXE\r\n npm: 8.1.4 - C:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (98.0.1108.50)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: ^0.22.2 => 0.22.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2929],{"name":2879,"color":2880},539,"build error:Blob is not defined","2023-01-21T16:20:11Z","https://github.com/vuejs/vitepress/issues/539",0.64874333,{"description":2936,"labels":2937,"number":2940,"owner":2868,"repository":2869,"state":2870,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\n\nrun vitepress build error:\r\n> docs@1.0.0 docs:build E:\\yto-engine\\docs\r\n> vitepress build\r\n\r\n\r\n vitepress v1.0.0-alpha.74\r\n\r\n⠴ building client + server bundles...\r\n(!) Some chunks are larger than 500 kBs after minification. Consider:\r\n- Using dynamic import() to code-split the application\r\n- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n✓ building client + server bundles...\r\nbuild error:\r\nTypeError: Cannot assign to read only property '__esModule' of object '#\u003CObject>'\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7100:20\r\n at Array.forEach (\u003Canonymous>)\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7098:29\r\n at requireVue_cjs_prod (file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7102:5)\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7179:22\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7183:3\r\n at ModuleJob.run (node:internal/modules/esm/module_job:198:25)\r\n at async Promise.all (index 0)\r\n at async ESMLoader.import (node:internal/modules/esm/loader:385:24)\r\n at async build (file:///E:/yto-engine/node_modules/.pnpm/vitepress@1.0.0-alpha.74/node_modules/vitepress/dist/node/serve-c662a607.js:41704:24)\r\n ELIFECYCLE Command failed with exit code 1.\r\n ELIFECYCLE Command failed with exit code 1.\n\n### Reproduction\n\ngit-clone:https://github.com/Hollelihanqi/ui.git\r\nstep1:\r\npnpm install\r\nstep2:\r\npnpm docs:build\n\n### Expected behavior\n\nvirepress build success\n\n### System Info\n\n```sh\nnodejs 16.15.0\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2938,2939],{"name":2879,"color":2880},{"name":2919,"color":2920},2337,"build error","2023-09-25T00:04:32Z","https://github.com/vuejs/vitepress/issues/2337",0.6521037,{"description":2946,"labels":2947,"number":2951,"owner":2868,"repository":2869,"state":2870,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Describe the bug\n\n很多时候在 `vitepress` 中难免使用到 `document`,但是 `vitepress` 使用服务端渲染方式,如何避免其打包的错误呢?\r\n\r\n有什么第三方插件推荐或者配置项吗?\r\n\r\n\u003Chr />\r\n\r\nIt is inevitable to use `document` in `vitepress` many times, but how to avoid the packaging error when` vitepress` uses the server-side rendering method?\r\n\r\nAre there any third-party plug-in recommendations or configuration items?\n\n### Reproduction\n\n```vue\r\n\u003Cscript setup>\r\n console.log(document)\r\n\u003C/script>\r\n```\r\n\r\n\r\n\n\n### Expected behavior\n\nBuild ok\n\n### System Info\n\n```shell\n\"vitepress\": \"^1.0.0-alpha.4\",\r\n\"vue\": \"^3.2.33\"\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2948],{"name":2949,"color":2950},"question","5D5FAE",1120,"document is not defined","2023-01-21T14:28:51Z","https://github.com/vuejs/vitepress/issues/1120",0.65579563,{"description":2957,"labels":2958,"number":2960,"owner":2868,"repository":2869,"state":2870,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\n\nHow can I resolve these problom??\r\n```\r\nvitepress v1.0.0-beta.5\r\n\r\n\\ building client + server bundles...\r\n(!) Some chunks are larger than 500 kBs after minification. Consider:\r\n- Using dynamic import() to code-split the application\r\n- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n✓ building client + server bundles...\r\n✓ rendering pages...\r\nbuild complete in 12.21s.\r\n```\r\n\r\n\r\n\n\n### Reproduction\n\nwindows 10 \r\nnpm 9.5.1\r\nnode v18.16.1\r\n\r\nvitepress: v1.0.0-beta.5\n\n### Expected behavior\n\nwindows 10 \r\nnpm 9.5.1\r\nnode v18.16.1\r\n\r\nvitepress: v1.0.0-beta.5\n\n### System Info\n\n```sh\nwindows 10 \r\nnpm 9.5.1\r\nnode v18.16.1\r\n\r\nvitepress: v1.0.0-beta.5\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2959],{"name":2879,"color":2880},2609,"Some chunks are larger than 500 kBs after minification.","2023-07-21T00:04:02Z","https://github.com/vuejs/vitepress/issues/2609",0.66099524,{"description":2966,"labels":2967,"number":2969,"owner":2868,"repository":2869,"state":2870,"title":2902,"updated_at":2970,"url":2971,"score":2972},"**Describe the bug**\r\nI try to use npm package QuillJS in .vitepress/theme/index.js\r\n```js\r\nimport Quill from \"quill\";\r\nlet quill = new Quill(\"#container\")\r\n```\r\nwhen I run `npm run dev` it works just fine\r\nbut when I run `npm run build` it failed\r\nand shows an error message: \r\n\r\n> build error:\r\n> ReferenceError: document is not defined\r\n> at Object.\\\u003Canonymous\\> (D:\\vueup-quill\\node_modules\\quill\\dist\\quill.js:7661:12)\r\n> at __webpack_require__ (D:\\vueup-quill\\node_modules\\quill\\dist\\quill.js:36:30)\r\n\r\n**Expected behavior**\r\nIt should work in dev and build mode.\r\n\r\n**System Info**\r\n- vitepress version: v0.12.2\r\n- vite version: v2.0.5\r\n- Node version: v14.15.4\r\n- OS version: Windows 10",[2968],{"name":2879,"color":2880},257,"2023-01-21T14:22:45Z","https://github.com/vuejs/vitepress/issues/257",0.6747047,["Reactive",2974],{},["Set"],["ShallowReactive",2977],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f34zMFdD7syMEPWYB3glXP3ANPUV2Ovu0ntbqrO8oCAU":-1},"/vuejs/vitepress/2633"]