mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
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:
commit
4774723e95
@ -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,8 +9,9 @@ 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.
|
||||||
// As a special case, the default locale can use '/' as its path.
|
// As a special case, the default locale can use '/' as its path.
|
||||||
'/de/': {
|
'/de/': {
|
||||||
|
|||||||
859
package-lock.json
generated
859
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user