migrate from github
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import { resolve } from 'path'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, 'src')
|
||||
}
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['codemirror', 'easymde', 'google-protobuf']
|
||||
},
|
||||
server: {
|
||||
host: true,
|
||||
port: 80,
|
||||
strictPort: true,
|
||||
hmr: {
|
||||
protocol: 'ws',
|
||||
host: 'localhost',
|
||||
port: 80,
|
||||
clientPort: 8080
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user