Merge branch 'feature/AW-33' into 'develop'
AW-33 See merge request witapp/aura-webapp!97
This commit is contained in:
commit
33d78b75a3
@ -2,10 +2,21 @@ import { defineConfig } from 'vite'
|
|||||||
import react from '@vitejs/plugin-react'
|
import react from '@vitejs/plugin-react'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: [{ find: '@', replacement: path.resolve(__dirname, 'src') }],
|
alias: [{ find: '@', replacement: path.resolve(__dirname, 'src') }],
|
||||||
},
|
},
|
||||||
|
server: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
port: 5173,
|
||||||
|
strictPort: true,
|
||||||
|
hmr: {
|
||||||
|
protocol: 'ws',
|
||||||
|
port: 5174,
|
||||||
|
clientPort: 5174,
|
||||||
|
host: 'localhost',
|
||||||
|
path: '/hmr/',
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user