fix: set fixed dev server ports
This commit is contained in:
@@ -3,6 +3,10 @@ import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [svelte()],
|
plugins: [svelte()],
|
||||||
|
server: {
|
||||||
|
port: 5173,
|
||||||
|
strictPort: true,
|
||||||
|
},
|
||||||
build: {
|
build: {
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
|
|||||||
@@ -5,7 +5,11 @@
|
|||||||
"frontend:install": "npm install",
|
"frontend:install": "npm install",
|
||||||
"frontend:build": "npm run build",
|
"frontend:build": "npm run build",
|
||||||
"frontend:dev:watcher": "npm run dev",
|
"frontend:dev:watcher": "npm run dev",
|
||||||
"frontend:dev:serverUrl": "auto",
|
"frontend:dev:serverUrl": "http://localhost:5173",
|
||||||
|
"devServer": {
|
||||||
|
"host": "localhost",
|
||||||
|
"port": 34115
|
||||||
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Movida.Biz",
|
"name": "Movida.Biz",
|
||||||
"email": "admin@movida.biz"
|
"email": "admin@movida.biz"
|
||||||
|
|||||||
Reference in New Issue
Block a user