pig-ui/vue-admin-wonderful-next/vite.config.ts

16 lines
295 B
TypeScript
Raw Normal View History

import type { UserConfig } from 'vite';
import path from 'path';
const viteConfig: UserConfig = {
sourcemap: false,
base: '../',
port: 8080,
hostname: 'localhost',
open: false,
alias: {
'/@/': path.resolve(__dirname, './src')
},
}
export default viteConfig