\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.",[2898],{"name":2868,"color":2869},539,"build error:Blob is not defined","2023-01-21T16:20:11Z","https://github.com/vuejs/vitepress/issues/539",0.69539165,{"description":2905,"labels":2906,"number":2910,"owner":2871,"repository":2872,"state":2873,"title":2911,"updated_at":2912,"url":2913,"score":2914},"### Is your feature request related to a problem? Please describe.\n\n希望可以有个版本更新通知的功能\n\n### Describe the solution you'd like\n\n支持在 md 文件更新后去通知用户主动刷新对应路由页面\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2907],{"name":2908,"color":2909},"stale","ededed",4137,"支持生产版本更新的动态通知吗","2025-03-25T02:36:01Z","https://github.com/vuejs/vitepress/issues/4137",0.70281625,{"description":2916,"labels":2917,"number":2921,"owner":2871,"repository":2872,"state":2873,"title":2922,"updated_at":2923,"url":2924,"score":2925},"### Is your feature request related to a problem? Please describe.\r\n\r\n- 自定义vue组件库,会用到很多第三方插件,比如:[@wangeditor/editor](https://github.com/nikitasnv/vue-resizable),[vue-resizable](https://github.com/wangeditor-team/wangEditor)等,而这些插件,都会用到window,document等这些变量\r\n\r\n- 当使用 vitepress 构建组件库文档时,`pnpm run build`,就会报错:\r\n```\r\nbuild error:\r\nReferenceError: document is not defined\r\n```\r\n\r\n- 如果都去让第三方插件作者去修改代码,这样也有点不切实际\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\n- vitepress build的时候,能否可以配置关闭SSR?或者有没有别的办法可以解决上述报错?非常感谢\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2918],{"name":2919,"color":2920},"build","377ba8",1727,"Allow disabling SSR","2023-01-31T00:04:44Z","https://github.com/vuejs/vitepress/issues/1727",0.7063283,{"description":2927,"labels":2928,"number":2930,"owner":2871,"repository":2872,"state":2873,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### Describe the bug\n\nI imported a lib which called document APIs. The minimized reproduction:\r\n\r\n```\r\n\u003Cscript>\r\nconst div = document.createElement('div');\r\nconsole.log(div)\r\n\u003C/script>\r\n\r\n# Hello World\r\n```\r\n\r\nIt works in vitepress dev but fails in vitepress build\n\n### Reproduction\n\nhttps://github.com/Jinjiang/reproductions/tree/vitepress-document-20240219\n\n### Expected behavior\n\nWorks as vitepress dev does\n\n### System Info\n\n```Text\n$ npx envinfo --system --npmPackages vitepress --binaries --browsers\r\n\r\n System:\r\n OS: macOS 14.4\r\n CPU: (8) arm64 Apple M1\r\n Memory: 75.17 MB / 8.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.1.0 - ~/.asdf/installs/nodejs/20.1.0/bin/node\r\n Yarn: 1.22.19 - ~/.asdf/shims/yarn\r\n npm: 9.6.4 - ~/.asdf/plugins/nodejs/shims/npm\r\n Browsers:\r\n Safari: 17.4\r\n npmPackages:\r\n vitepress: 1.0.0-rc.43 => 1.0.0-rc.43\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.",[2929],{"name":2868,"color":2869},3583,"document is not defined when vitepress build","2024-02-27T00:05:55Z","https://github.com/vuejs/vitepress/issues/3583",0.71136683,{"description":2936,"labels":2937,"number":2939,"owner":2871,"repository":2872,"state":2873,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Describe the bug\n\nin my md file, i use a component use dplayer, when i use in dev, it is ok.\r\nwhen i build, show errors: rendering pages...ReferenceError: self is not defined\r\ni use the ClientOnly, it not ok\n\n### Reproduction\n\n\u003Cscript lang=\"ts\" setup>\r\nimport VPlayer from './src/index'\r\n\u003C/script>\r\n\u003CClientOnly>\r\n \u003CVPlayer url=\"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\">\u003C/VPlayer>\r\n\u003C/ClientOnly>\n\n### Expected behavior\n\nwhen i build , it is ok like dev\n\n### System Info\n\n```Text\nwindows\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],{"name":2868,"color":2869},3610,"rendering pages...ReferenceError: self is not defined when build","2024-03-16T00:04:09Z","https://github.com/vuejs/vitepress/issues/3610",0.71250916,{"description":2945,"labels":2946,"number":2950,"owner":2871,"repository":2872,"state":2873,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\r\n\r\nI locate the problematic line by commenting. When `{{ }}` appears, Vitepress parses the code block in the `` line incorrectly.\r\nFor example:\r\n```jsx\r\n\u003Cdiv style={{ opacity: 1}}/>\r\n```\r\n\r\n### Reproduction\r\n\r\nnull\r\n\r\n### Expected behavior\r\n\r\nSupport to use `{{}}` in `` inline code blocks.\r\n\r\n### System Info\r\n\r\n```shell\r\nnull\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n\r\n\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2947],{"name":2948,"color":2949},"invalid","ffffff",1988,"Build Error: Not Support {{}} in ``","2023-03-04T00:04:19Z","https://github.com/vuejs/vitepress/issues/1988",0.71462697,{"description":2956,"labels":2957,"number":2958,"owner":2871,"repository":2872,"state":2873,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\nWhen running build, the browser API reports an error undefined, and the dependent package will also warn, how should I solve this problem\r\n\r\n\u003Cimg width=\"482\" alt=\"Snipaste_2023-06-05_18-14-50\" src=\"https://github.com/vuejs/vitepress/assets/37688666/3c95deee-928b-47c7-8738-fd33e28aff89\">\r\n\n\n### Reproduction\n\nhttps://github.com/peiyanlu/vite-press/ ,run pnpm build\n\n### Expected behavior\n\nThe browser API does not report an error\n\n### System Info\n\n```sh\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: 34.75 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 (114.0.1823.37) \r\n Internet Explorer: 11.0.19041.1566 \r\n npmPackages: \r\n vitepress: 1.0.0-beta.1 => 1.0.0-beta.1\n```\n\n\n### Additional context\n\n\u003Cimg width=\"336\" alt=\"Snipaste_2023-06-05_18-21-13\" src=\"https://github.com/vuejs/vitepress/assets/37688666/c2980cf1-4b52-413b-bb5f-5546bdda51f8\">\r\n\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.",[],2478,"The browser API reports an error","2023-06-14T00:04:16Z","https://github.com/vuejs/vitepress/issues/2478",0.7193209,["Reactive",2964],{},["Set"],["ShallowReactive",2967],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fLnxSj-oAuNR74LxripCgsbw99YYwtcrI9Pbx3Xw_C-E":-1},"/vuejs/vitepress/596"]