This commit is contained in:
Aji Setiaji
2025-06-03 19:38:08 +07:00
2 changed files with 23 additions and 1 deletions

19
nixpacks.toml Normal file
View File

@@ -0,0 +1,19 @@
# nixpacks.toml
[phases.setup]
# Prevent Nixpacks from caching setup phase (e.g., node installation)
cache = false
[phases.install]
# Prevent Nixpacks from caching node_modules or dependencies
cache = false
cmds = ["npm install"]
[phases.build]
# Prevent caching of the build output
cache = false
cmds = ["npm run build"]
[start]
# Start your SvelteKit SSR server
cmd = "npm run start"

View File

@@ -27,5 +27,8 @@
"svelte-select": "^5.8.3", "svelte-select": "^5.8.3",
"svelte-table": "^0.6.4", "svelte-table": "^0.6.4",
"tailwindcss": "^4.1.7" "tailwindcss": "^4.1.7"
} },
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
}
} }