Update vite.config.js
This commit is contained in:
parent
1cf290d95f
commit
262327e20a
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ import path from 'path';
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server:{
|
||||||
|
allowedHosts: ['.code-catalyst.com']
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@src': path.resolve(__dirname, 'src'),
|
'@src': path.resolve(__dirname, 'src'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue