Skip to content

Commit

Permalink
fix: upgrad C12 config loader
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Nov 14, 2024
1 parent b5cd561 commit a4327b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
7 changes: 7 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { DefaultTheme } from 'vitepress'
import UnoCSS from 'unocss/vite'
import { defineConfig } from 'vitepress'
import { description, name, version } from '../../package.json'
import {
Expand Down Expand Up @@ -27,6 +28,12 @@ export default defineConfig({
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
],

vite: {
plugins: [
UnoCSS(),
],
},

themeConfig: {
logo: {
light: '/logo-light.svg',
Expand Down
19 changes: 0 additions & 19 deletions docs/vite.config.ts

This file was deleted.

5 changes: 1 addition & 4 deletions src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ export function loadConfig(cwd = process.cwd()) {
cwd,
name: 'kirbyup',
rcFile: false,
jitiOptions: {
interopDefault: true,
esmResolve: true,
},
packageJson: false,
})
}

Expand Down

0 comments on commit a4327b9

Please sign in to comment.