\n这是知乎网站的热搜榜\n\n\u003Cimg width=\"807\" height=\"942\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/092b0749-e7d2-4b00-bd5b-172b6725c892\" />\n\n### Reproduction\n\n希望能更新接口,获取最新热搜数据\n\n### Expected behavior\n\n希望能更新接口,获取最新热搜数据\n\n### System Info\n\n```Text\n1.6.20\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.",[3020],{"name":3021,"color":3022},"bug: pending triage","e99695",4866,"vuejs","vitepress","open","知乎热搜榜不更新","2025-07-30T00:43:03Z","https://github.com/vuejs/vitepress/issues/4866",0.69637823,{"description":3032,"labels":3033,"number":3046,"owner":3024,"repository":3025,"state":3047,"title":3048,"updated_at":3049,"url":3050,"score":3051},"### Describe the bug\n\n**Build terminated :** \r\n\r\nHow to resolde this issue ?\r\n\r\nnpm run docs:dev successfully \r\n\r\nBut build failed !\r\n\r\n`\r\nnpm run docs:build\r\n\r\n> docs:build\r\n> vitepress build docs\r\n\r\n\r\n vitepress v1.0.0-rc.10\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...Terminated\r\n`\n\n### Reproduction\n\nVery large site : +500K files\r\nnpm run docs:build\n\n### Expected behavior\n\nBuild success\n\n### System Info\n\n```sh\nSystem:\r\n OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)\r\n CPU: (4) x64 AMD EPYC 7763 64-Core Processor\r\n Memory: 13.75 GB / 15.62 GB\r\n Container: Yes\r\n Shell: 5.0.17 - /bin/bash\r\n Binaries:\r\n Node: 20.5.1 - ~/nvm/current/bin/node\r\n Yarn: 1.22.19 - /usr/bin/yarn\r\n npm: 9.8.0 - ~/nvm/current/bin/npm\r\n pnpm: 8.6.12 - ~/nvm/current/bin/pnpm\r\n npmPackages:\r\n vitepress: v1.0.0-rc.10 => 1.0.0-rc.10\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.",[3034,3037,3040,3043],{"name":3035,"color":3036},"build","377ba8",{"name":3038,"color":3039},"upstream","BF29ED",{"name":3041,"color":3042},"contribution welcome","11E4B8",{"name":3044,"color":3045},"stale","ededed",2870,"closed","Some chunks are larger than 500 kBs after minification","2024-01-03T00:04:38Z","https://github.com/vuejs/vitepress/issues/2870",0.5111945,{"description":3053,"labels":3054,"number":3058,"owner":3024,"repository":3025,"state":3047,"title":3059,"updated_at":3060,"url":3061,"score":3062},"### Describe the bug\n\n当我使用vitepress打包时,报错:\r\n$ vitepress build docs\r\n\r\n vitepress v1.0.0-rc.40\r\n\r\n⠏ building client + server bundles...\r\n(!) Some chunks are larger than 500 kB 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[commonjs--resolver] Missing \"./server-renderer\" specifier in \"vue\" package\r\n✖ building client + server bundles...\r\nbuild error:\r\nError: Missing \"./server-renderer\" specifier in \"vue\" package\r\n at e (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:25)\r\n at n (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:627)\r\n at o (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:1297)\r\n at resolveExportsOrImports (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29466:20)\r\n at resolveDeepImport (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29485:31)\r\n at tryNodeResolve (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29210:20)\r\n at Object.resolveId (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:28978:28)\r\n at Object.handler (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:67383:19)\r\n at file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/rollup/dist/es/shared/node-entry.js:18642:40 \r\n at async PluginDriver.hookFirstAndGetPlugin (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/rollup/dist/es/shared/node-entry.js:18542:28)\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n\n### Reproduction\n\nyarn docs:build\n\n### Expected behavior\n\n打包完成\n\n### System Info\n\n```Text\nnode: 18.19.0\r\nvitepress:v1.0.0-rc.40\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.",[3055],{"name":3056,"color":3057},"need more info","bdbefc",3492,"vitepress打包报错","2024-02-21T00:04:28Z","https://github.com/vuejs/vitepress/issues/3492",0.574615,{"description":3064,"labels":3065,"number":3068,"owner":3024,"repository":3025,"state":3047,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### 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.",[3066,3067],{"name":3021,"color":3022},{"name":3044,"color":3045},2337,"build error","2023-09-25T00:04:32Z","https://github.com/vuejs/vitepress/issues/2337",0.6064714,{"description":3074,"labels":3075,"number":3077,"owner":3024,"repository":3025,"state":3047,"title":3078,"updated_at":3079,"url":3080,"score":3081},"### Describe the bug\n\nActuall I am using one pakage in vue component and I am importing my vue component in vitepress then when I am trying to build I am getting this error \r\n\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...ReferenceError: document is not defined\r\n at enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\n at Object.\u003Canonymous> (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3) \r\n at Module._compile (node:internal/modules/cjs/loader:1101:14)\r\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at ModuleWrap.\u003Canonymous> (node:internal/modules/esm/translators:190:29)\r\n at ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\n✖ rendering pages...\r\nbuild error:\r\nReferenceError: document is not defined\r\n at enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\n at Object.\u003Canonymous> (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3)\r\n at Module._compile (node:internal/modules/cjs/loader:1101:14)\r\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at ModuleWrap.\u003Canonymous> (node:internal/modules/esm/translators:190:29)\r\n at ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\nPS C:\\ArunSk\\aswin>\r\n\r\nif I comment that package and try to build it's building fine and I have added config.ts also \r\n\r\nimport { UserConfig } from 'vite';\r\n\r\nconst config: UserConfig = {\r\n // Other Vite configuration options...\r\n build: {\r\n rollupOptions: {\r\n external: /^bootstrap($|\\/)/,\r\n },\r\n ssr: false,\r\n },\r\n};\r\n\r\nexport default config;\r\n\r\nmy package.json\r\n\r\n{\r\n \"scripts\": {\r\n \"docs:dev\": \"vitepress dev docs\",\r\n \"docs:build\": \"vitepress build docs\",\r\n \"docs:preview\": \"vitepress preview docs\"\r\n },\r\n \"peerDependencies\": {\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@types/markdown-it\": \"^12.2.3\",\r\n \"@types/markdown-it-container\": \"^2.0.5\",\r\n \"@types/node\": \"^18.16.3\",\r\n \"lint-staged\": \"^13.2.2\",\r\n \"vue\": \"^3.2.38\"\r\n },\r\n \"dependencies\": {\r\n \"bootstrap\": \"^5.2.0\",\r\n \"fire-stars\": \"^0.0.1\",\r\n \"markdown-it\": \"^13.0.1\",\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"sass\": \"^1.63.6\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n }\r\n}\r\n\r\n\n\n### Reproduction\n\nActuall I am using one pakage in vue component and I am importing my vue component in vitepress then when I am trying to build I am getting this error \r\n\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...ReferenceError: document is not defined\r\n at enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\n at Object.\u003Canonymous> (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3) \r\n at Module._compile (node:internal/modules/cjs/loader:1101:14)\r\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at ModuleWrap.\u003Canonymous> (node:internal/modules/esm/translators:190:29)\r\n at ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\n✖ rendering pages...\r\nbuild error:\r\nReferenceError: document is not defined\r\n at enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\n at C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\n at Object.\u003Canonymous> (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3)\r\n at Module._compile (node:internal/modules/cjs/loader:1101:14)\r\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at ModuleWrap.\u003Canonymous> (node:internal/modules/esm/translators:190:29)\r\n at ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\nPS C:\\ArunSk\\aswin>\r\n\r\nif I comment that package and try to build it's building fine and I have added config.ts also \r\n\r\nimport { UserConfig } from 'vite';\r\n\r\nconst config: UserConfig = {\r\n // Other Vite configuration options...\r\n build: {\r\n rollupOptions: {\r\n external: /^bootstrap($|\\/)/,\r\n },\r\n ssr: false,\r\n },\r\n};\r\n\r\nexport default config;\r\n\r\nmy package.json\r\n\r\n{\r\n \"scripts\": {\r\n \"docs:dev\": \"vitepress dev docs\",\r\n \"docs:build\": \"vitepress build docs\",\r\n \"docs:preview\": \"vitepress preview docs\"\r\n },\r\n \"peerDependencies\": {\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@types/markdown-it\": \"^12.2.3\",\r\n \"@types/markdown-it-container\": \"^2.0.5\",\r\n \"@types/node\": \"^18.16.3\",\r\n \"lint-staged\": \"^13.2.2\",\r\n \"vue\": \"^3.2.38\"\r\n },\r\n \"dependencies\": {\r\n \"bootstrap\": \"^5.2.0\",\r\n \"fire-stars\": \"^0.0.1\",\r\n \"markdown-it\": \"^13.0.1\",\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"sass\": \"^1.63.6\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n }\r\n}\r\n\r\n\n\n### Expected behavior\n\nBuild Succesful\n\n### System Info\n\n```sh\n{\r\n \"scripts\": {\r\n \"docs:dev\": \"vitepress dev docs\",\r\n \"docs:build\": \"vitepress build docs\",\r\n \"docs:preview\": \"vitepress preview docs\"\r\n },\r\n \"peerDependencies\": {\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@types/markdown-it\": \"^12.2.3\",\r\n \"@types/markdown-it-container\": \"^2.0.5\",\r\n \"@types/node\": \"^18.16.3\",\r\n \"lint-staged\": \"^13.2.2\",\r\n \"vue\": \"^3.2.38\"\r\n },\r\n \"dependencies\": {\r\n \"bootstrap\": \"^5.2.0\",\r\n \"fire-stars\": \"^0.0.1\",\r\n \"markdown-it\": \"^13.0.1\",\r\n \"markdown-it-container\": \"^3.0.0\",\r\n \"sass\": \"^1.63.6\",\r\n \"vitepress\": \"*\",\r\n \"vue\": \"^3.2.0\"\r\n }\r\n}\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.",[3076],{"name":3021,"color":3022},2633,"Document is Not defined while building","2023-07-27T00:04:20Z","https://github.com/vuejs/vitepress/issues/2633",0.6608113,{"description":3083,"labels":3084,"number":3088,"owner":3024,"repository":3025,"state":3047,"title":3089,"updated_at":3090,"url":3091,"score":3092},"### Describe the bug\n\n使用官方文档的部署脚本成功部署到Github Pages之后,此时如果配置使用自定义域名的话,访问时样式会丢失\n\n### Reproduction\n\n1. 博客目录结构如下所示:\u003Cbr />\r\n2. 配置文件如下所示:\u003Cbr /> \n\n### Expected behavior\n\n使用 Github 自带的 https://xihuanxiaorang.github.io/docs/ 访问就没有任何问题,如果是使用自定义域名 https://docs.xiaorang.fun/ 的话,样式就会丢失\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz\r\n Memory: 659.73 MB / 3.92 GB\r\n Binaries:\r\n Node: 20.11.0 - E:\\nodejs\\node.EXE\r\n Yarn: 1.22.21 - E:\\nodejs\\node_global\\yarn.CMD\r\n npm: 10.2.4 - E:\\nodejs\\npm.CMD\r\n pnpm: 8.14.3 - E:\\nodejs\\node_global\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (120.0.2210.144)\r\n Internet Explorer: 11.0.19041.3636\r\n npmPackages:\r\n vitepress: 1.0.0-rc.40 => 1.0.0-rc.40\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.",[3085],{"name":3086,"color":3087},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.66232395,{"description":3094,"labels":3095,"number":3097,"owner":3024,"repository":3025,"state":3047,"title":3098,"updated_at":3099,"url":3100,"score":3101},"### Describe the bug\r\n\r\n指定端口号后热更新失效,恢复默认之后热更新依旧不生效\r\n\r\n### Reproduction\r\n\r\nvitepress dev docs --host --port 9999\r\n\r\n### Expected behavior\r\n\r\n热更新生效\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem: \r\n OS: Windows 10 10.0.19044 \r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz\r\n Memory: 44.27 GB / 63.71 GB \r\n Binaries: \r\n Node: 14.18.2 - C:\\Program Files\\nodejs\\node.EXE \r\n Yarn: 1.22.19 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD \r\n npm: 6.14.15 - C:\\Program Files\\nodejs\\npm.CMD \r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.68)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.75 => 1.0.0-alpha.75\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3096],{"name":3021,"color":3022},2349,"热更新","2023-05-24T00:03:54Z","https://github.com/vuejs/vitepress/issues/2349",0.67481065,{"description":3103,"labels":3104,"number":3105,"owner":3024,"repository":3025,"state":3047,"title":3106,"updated_at":3107,"url":3108,"score":3109},"\r\n**Describe the bug**\r\nvitepress dev docs working but vitepress build docs has errors.\r\n\r\n```\r\n> vitepress dev docs\r\n\r\nvitepress v0.15.3\r\nvite v2.3.7\r\nD:\\vue3-openlayers\\docs\\.vitepress\\config.js\r\n\r\n vite v2.3.7 dev server running at:\r\n\r\n > Local: http://localhost:3000/\r\n > Network: use `--host` to expose\r\n[@vue/compiler-sfc] \u003Cscript setup> is still an experimental proposal.\r\nFollow its status at https://github.com/vuejs/rfcs/pull/227.\r\n\r\n[@vue/compiler-sfc] When using experimental features,\r\nit is recommended to pin your vue dependencies to exact versions to avoid breakage.\r\n```\r\n\r\n```\r\n> vitepress build docs\r\n\r\nvitepress v0.15.3\r\nvite v2.3.7\r\n⠧ building client + server bundles...\r\n(!) Some chunks are larger than 500kb 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/guide/en/#outputmanualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n✓ building client + server bundles...\r\n✖ rendering pages...\r\nbuild error:\r\n D:\\vue3-openlayers\\node_modules\\ol\\Map.js:17\r\nimport CompositeMapRenderer from './renderer/Composite.js';\r\n^^^^^^\r\n\r\nSyntaxError: Cannot use import statement outside a module\r\n at wrapSafe (internal/modules/cjs/loader.js:1001:16)\r\n at Module._compile (internal/modules/cjs/loader.js:1049:27)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\r\n at Module.load (internal/modules/cjs/loader.js:950:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:791:14)\r\n at Module.require (internal/modules/cjs/loader.js:974:19)\r\n at require (internal/modules/cjs/helpers.js:88:18)\r\n at Module.\u003Canonymous> (D:\\vue3-openlayers\\node_modules\\vitepress\\dist\\client\\app\\temp\\app.js:25:13)\r\n at Module._compile (internal/modules/cjs/loader.js:1085:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! vue3-openlayers@0.1.0 docs:build: `vitepress build docs`\r\nnpm ERR! Exit status 1\r\n```\r\n\r\n**Expected behavior**\r\n\r\nsuccess build\r\n\r\n**System Info**\r\n- vitepress version: ^0.15.3\r\n- vite version: 2.3.7\r\n- Node version: v14.13.0\r\n- OS version: win 10\r\n\r\n",[],324,"dev works but build not (Cannot use import statement outside a module)","2023-01-21T14:28:40Z","https://github.com/vuejs/vitepress/issues/324",0.67635447,{"description":3111,"labels":3112,"number":3114,"owner":3024,"repository":3025,"state":3047,"title":3115,"updated_at":3116,"url":3117,"score":3118},"### Describe the bug\r\n\r\n\r\n`config.ts`\r\n```ts\r\nexport default defineConfig({\r\n vite: {\r\n css: {\r\n postcss: {\r\n plugins: [\r\n postcssIsolateStyles({\r\n includeFiles: [/vp-doc\\.css/]\r\n }),\r\n ],\r\n },\r\n }\r\n})\r\n```\r\n\r\n### Reproduction\r\n\r\nSee above\r\n\r\n### Expected behavior\r\n\r\nNo error\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz\r\n Memory: 38.35 GB / 63.84 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\NodeJS\\node.EXE\r\n Yarn: 1.22.19 - C:\\NodeJS\\yarn.CMD\r\n npm: 9.8.1 - C:\\NodeJS\\npm.CMD\r\n pnpm: 8.7.0 - C:\\NodeJS\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (116.0.1938.62)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.9 => 1.0.0-rc.9\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3113],{"name":3021,"color":3022},2867,"`postcssIsolateStyles` type issue with inline postcss plugin config in `vite` configs","2023-09-05T00:04:09Z","https://github.com/vuejs/vitepress/issues/2867",0.6827782,{"description":3120,"labels":3121,"number":3123,"owner":3024,"repository":3025,"state":3047,"title":3124,"updated_at":3125,"url":3126,"score":3127},"### Describe the bug\n\n版本:\"vitepress\": \"^1.0.0-alpha.35\", \r\n里面没有多余的东西。就是按照官网https://vitepress.vuejs.org/guide/getting-started 走到了第三步。然后将 index.md 的内容添加了 {1}\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n按照官网https://vitepress.vuejs.org/guide/getting-started 走到了第三步。然后将 index.md 的内容添加了 {1}\n\n### Expected behavior\n\n正常渲染 {1} 标签的内容\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H\r\n Memory: 1.50 GB / 15.73 GB\r\n Binaries:\r\n Node: 16.15.1 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 8.11.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.963.0), Chromium (108.0.1462.76)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.35 => 1.0.0-alpha.35\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.",[3122],{"name":3021,"color":3022},1781,"在内容里使用 {xxx} 就会报错","2023-01-21T14:16:43Z","https://github.com/vuejs/vitepress/issues/1781",0.6887133,["Reactive",3129],{},["Set"],["ShallowReactive",3132],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fWzw5iWEH82E7hu-rPqX-kOOqIxY-PgWVRjNeLgX_SfA":-1},"/vuejs/vitepress/2609"]