mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-22 17:33:13 +03:00
Temporarily disable vite bundler
This commit is contained in:
parent
357f04a713
commit
4a1c51cfe7
@ -22,7 +22,7 @@ export default defineUserConfig<DefaultThemeOptions>({
|
|||||||
],
|
],
|
||||||
["@vuepress/plugin-debug", !isProduction],
|
["@vuepress/plugin-debug", !isProduction],
|
||||||
],
|
],
|
||||||
base: isProduction ? "/Xray-docs-next/" : "",
|
base: "/Xray-docs-next/",
|
||||||
locales: {
|
locales: {
|
||||||
"/": {
|
"/": {
|
||||||
lang: "zh-CN",
|
lang: "zh-CN",
|
||||||
@ -90,7 +90,7 @@ export default defineUserConfig<DefaultThemeOptions>({
|
|||||||
extendsMarkdown: (md) => {
|
extendsMarkdown: (md) => {
|
||||||
md.use(require("markdown-it-footnote"));
|
md.use(require("markdown-it-footnote"));
|
||||||
},
|
},
|
||||||
bundler: isProduction ? "@vuepress/webpack" : "@vuepress/vite",
|
bundler: "@vuepress/webpack",
|
||||||
bundlerConfig: {
|
bundlerConfig: {
|
||||||
chainWebpack: (config) => {
|
chainWebpack: (config) => {
|
||||||
config.module
|
config.module
|
||||||
@ -102,9 +102,6 @@ export default defineUserConfig<DefaultThemeOptions>({
|
|||||||
name: `assets/img/[name].[hash:8].[ext]`,
|
name: `assets/img/[name].[hash:8].[ext]`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
viteOptions: {
|
|
||||||
base: "/Xray-docs-next/",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
//postcss: { plugins: [require("autoprefixer")] }
|
//postcss: { plugins: [require("autoprefixer")] }
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user