chore: UPDATE

This commit is contained in:
草鞋没号 committed 2021-11-01 20:56:49 +08:00
1 parent 636e6c38ea
commit a889da2dba
2 files changed
+7

No files matched your search

+5
View File
@@ -1,6 +1,7 @@
import { join } from 'path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import pkg from '../package.json'
// https://vitejs.dev/config/
export default defineConfig({
@@ -10,4 +11,8 @@ export default defineConfig({
minify: false,
outDir: join(process.cwd(), 'dist/react-ts'),
},
server: {
host: pkg.env.HOST,
port: pkg.env.PORT,
},
})