forked from react-querybuilder/react-querybuilder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
21 lines (17 loc) · 955 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[build]
command = "curl -fsSL https://bun.sh/install | bash -s 'bun-v1.1.29' && rm -rf node_modules packages/*/node_modules website/node_modules && git reset --hard HEAD && bun install --frozen-lockfile && bun --bun run build && bun run website:build"
# Use this once https://github.com/oven-sh/bun/issues/14414 is fixed
# command = "bun upgrade && rm -rf node_modules packages/*/node_modules website/node_modules && git reset --hard HEAD && bun install --frozen-lockfile && bun --bun run build && bun run website:build"
publish = "website/build"
[context.production.environment]
NODE_VERSION = "20.10.0"
NODE_OPTIONS = "--max-old-space-size=4096"
[context.deploy-preview.environment]
NODE_VERSION = "20.10.0"
NODE_OPTIONS = "--max-old-space-size=4096"
[context.branch-deploy.environment]
NODE_VERSION = "20.10.0"
NODE_OPTIONS = "--max-old-space-size=4096"
[context.dev.environment]
NODE_VERSION = "20.10.0"
NODE_OPTIONS = "--max-old-space-size=4096"