Merge pull request #73 from Ocelot-Social-Community/set-bundler-according-to-theme-update

fix(other): set bundler according to theme update
This commit is contained in:
mahula 2024-01-27 11:09:13 +01:00 committed by GitHub
commit 4774723e95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 631 additions and 242 deletions

View File

@ -1,4 +1,6 @@
import { defineUserConfig } from 'vuepress' import { defineUserConfig } from 'vuepress'
import { viteBundler } from '@vuepress/bundler-vite'
import meta from './config/meta' import meta from './config/meta'
import theme from './config/theme' import theme from './config/theme'
import plugins from './config/plugins' import plugins from './config/plugins'
@ -7,6 +9,7 @@ export default defineUserConfig({
...meta, ...meta,
theme, theme,
plugins, plugins,
bundler: viteBundler(),
base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/', base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
locales: { locales: {
// The key is the path for the locale to be nested under. // The key is the path for the locale to be nested under.

859
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@
"homepage": "https://ocelot.social", "homepage": "https://ocelot.social",
"devDependencies": { "devDependencies": {
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.2", "@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.2",
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"textlint": "^13.4.1", "textlint": "^13.4.1",
"textlint-filter-rule-comments": "^1.2.2", "textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-apostrophe": "^2.0.0", "textlint-rule-apostrophe": "^2.0.0",
@ -34,9 +35,9 @@
"textlint-rule-no-zero-width-spaces": "^1.0.1", "textlint-rule-no-zero-width-spaces": "^1.0.1",
"textlint-rule-period-in-list-item": "^1.0.1", "textlint-rule-period-in-list-item": "^1.0.1",
"textlint-rule-write-good": "^2.0.0", "textlint-rule-write-good": "^2.0.0",
"vuepress": "^2.0.0-rc.0", "vuepress": "^2.0.0-rc.2",
"vuepress-plugin-redirect": "^2.0.0-rc.12", "vuepress-plugin-redirect": "^2.0.0-rc.15",
"vuepress-plugin-search-pro": "^2.0.0-rc.12", "vuepress-plugin-search-pro": "^2.0.0-rc.15",
"vuepress-theme-hope": "^2.0.0-rc.15" "vuepress-theme-hope": "^2.0.0-rc.15"
} }
} }