mirror of
https://github.com/fmhy/edit.git
synced 2025-08-01 00:32:30 +10:00
commiting this so i dont forget
This commit is contained in:
parent
7bd4a70aca
commit
1f06675dc0
2 changed files with 186 additions and 0 deletions
|
@ -4,6 +4,7 @@ import UnoCSS from 'unocss/vite'
|
|||
import AutoImport from 'unplugin-auto-import/vite'
|
||||
import OptimizeExclude from 'vite-plugin-optimize-exclude'
|
||||
import Terminal from 'vite-plugin-terminal'
|
||||
import vueDevtools from 'vite-plugin-vue-devtools'
|
||||
import { defineConfig } from 'vitepress'
|
||||
import {
|
||||
commitRef,
|
||||
|
@ -94,11 +95,18 @@ export default defineConfig({
|
|||
replacement: fileURLToPath(
|
||||
new URL('./theme/Appearance.vue', import.meta.url)
|
||||
)
|
||||
},
|
||||
{
|
||||
find: /^.*VPButton\.vue$/,
|
||||
replacement: fileURLToPath(
|
||||
new URL('./theme/components/VPButton.vue', import.meta.url)
|
||||
)
|
||||
}
|
||||
]
|
||||
},
|
||||
optimizeDeps: { exclude: ['workbox-window'] },
|
||||
plugins: [
|
||||
vueDevtools(),
|
||||
OptimizeExclude(),
|
||||
Terminal({
|
||||
console: 'terminal',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue