Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build]
# This will be your default build command.
command = "pnpm run generate"
command = "pnpm run generate:netlify"
# This is the directory that you are publishing from.
publish = "dist"

Expand All @@ -16,7 +16,7 @@
targetPort = 9090

[context.deploy-preview]
command = 'export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate'
command = 'export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate:netlify'

[context.production]
command = 'export BASE_URL=$URL && env && pnpm run generate'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"start": "nuxi preview",
"start:node": "PORT=9090 node .output/server/index.mjs",
"generate": "nuxi build",
"generate:netlify": "NODE_OPTIONS='--max-old-space-size=8192' nuxi build",
"lint": "eslint .",
"lint:quiet": "eslint . --quiet",
"lint:fix": "eslint . --fix",
Expand Down
Loading