Spaces:
Running
Running
build command
Browse files- package.json +1 -1
- svelte.config.js +0 -4
package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"scripts": {
|
| 5 |
"dev": "vite dev",
|
| 6 |
"build": "vite build",
|
| 7 |
-
"preview": "vite preview",
|
| 8 |
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
| 9 |
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
| 10 |
"lint": "prettier --check . && eslint .",
|
|
|
|
| 4 |
"scripts": {
|
| 5 |
"dev": "vite dev",
|
| 6 |
"build": "vite build",
|
| 7 |
+
"preview": "vite preview --host 3000",
|
| 8 |
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
| 9 |
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
| 10 |
"lint": "prettier --check . && eslint .",
|
svelte.config.js
CHANGED
|
@@ -13,10 +13,6 @@ const config = {
|
|
| 13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
| 14 |
adapter: adapter(),
|
| 15 |
},
|
| 16 |
-
preview:{
|
| 17 |
-
port: 3000,
|
| 18 |
-
strictPort:false,
|
| 19 |
-
}
|
| 20 |
};
|
| 21 |
|
| 22 |
export default config;
|
|
|
|
| 13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
| 14 |
adapter: adapter(),
|
| 15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
};
|
| 17 |
|
| 18 |
export default config;
|