Skip to content

Commit 34371a8

Browse files
committed
chore: 添加项目配置文件
1 parent 307f464 commit 34371a8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vite.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
33

4-
// https://vite.dev/config/
4+
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
base: '/leetcode-70-climbing-stairs/',
8+
build: {
9+
outDir: 'dist',
10+
assetsDir: 'assets',
11+
emptyOutDir: true
12+
}
713
})

0 commit comments

Comments
 (0)