Skip to content

Commit

Permalink
[doc]Update vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
dufu1991 committed Dec 11, 2024
1 parent 74353a3 commit 3bba24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/site/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig, type Plugin } from 'vite';
import { defineConfig } from 'vite';
import md from 'rollup-plugin-md-ts';

export default defineConfig({
Expand All @@ -8,7 +8,7 @@ export default defineConfig({
md({
marked: {},
include: ['../mds/**/*.md', './src/pages/guide/**/*.md', '../../packages/**/*.md']
}) as Plugin
})
],
server: { hmr: true, host: '0.0.0.0', port: 5555 }
});

0 comments on commit 3bba24c

Please sign in to comment.