File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
[build ]
5
5
# This will be your default build command.
6
- command = " pnpm run generate"
6
+ command = " pnpm run generate:netlify "
7
7
# This is the directory that you are publishing from.
8
8
publish = " dist"
9
9
16
16
targetPort = 9090
17
17
18
18
[context .deploy-preview ]
19
- command = ' export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate'
19
+ command = ' export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate:netlify '
20
20
21
21
[context .production ]
22
22
command = ' export BASE_URL=$URL && env && pnpm run generate'
Original file line number Diff line number Diff line change 28
28
"start" : " nuxi preview" ,
29
29
"start:node" : " PORT=9090 node .output/server/index.mjs" ,
30
30
"generate" : " nuxi build" ,
31
+ "generate:netlify" : " NODE_OPTIONS='--max-old-space-size=8192' nuxi build" ,
31
32
"lint" : " eslint ." ,
32
33
"lint:quiet" : " eslint . --quiet" ,
33
34
"lint:fix" : " eslint . --fix" ,
You can’t perform that action at this time.
0 commit comments