chatgpt-web/vite.config.ts

27 lines
494 B
TypeScript
Raw Normal View History

2023-02-08 22:21:33 -05:00
import path from 'path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig(() => {
return {
resolve: {
alias: {
'@': path.resolve(process.cwd(), 'src'),
},
},
2023-02-09 20:19:37 -05:00
plugins: [vue()],
2023-02-08 22:21:33 -05:00
server: {
port: 1002,
host: '0.0.0.0',
open: false,
},
build: {
reportCompressedSize: false,
sourcemap: false,
commonjsOptions: {
ignoreTryCatch: false,
},
},
}
})