Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Commit db4b85a

Browse files
committed
chore: remove unused staff from dev vite config
1 parent 171f607 commit db4b85a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/dialog/dev/vite.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
/*eslint-env node*/
22
import path from 'path'
3-
import { defineConfig, UserConfigExport } from 'vite'
3+
import { defineConfig } from 'vite'
44
import vue from '@vitejs/plugin-vue'
55
import WindiCSS from 'vite-plugin-windicss'
66

77
const resolve = (str: string) => path.resolve(__dirname, str)
88

9-
export default ({ mode }: { mode: 'production'| 'development' }): UserConfigExport => defineConfig({
9+
export default defineConfig({
1010
root: resolve('.'),
11-
base: mode === 'production'
12-
? '/gitart-vue-dialog/'
13-
: '/',
1411

1512
plugins: [
1613
vue(),

0 commit comments

Comments
 (0)