30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"framework": null,
|
|
"installCommand": "pnpm install --frozen-lockfile",
|
|
"buildCommand": "pnpm -C designer build",
|
|
"outputDirectory": "designer/dist",
|
|
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }],
|
|
"headers": [
|
|
{
|
|
"source": "/(assets/.*|workbox-[a-z0-9]+\\.js)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
|
|
},
|
|
{
|
|
"source": "/(sw\\.js|registerSW\\.js|manifest\\.webmanifest|index\\.html)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" }]
|
|
}
|
|
],
|
|
"build": {
|
|
"env": {
|
|
"VITE_DEMOS_URL": "https://pub-ac941e05e1284f409be2ed74ddb151b3.r2.dev/demos",
|
|
"VITE_MODELS3D_URL": "https://pub-ac941e05e1284f409be2ed74ddb151b3.r2.dev",
|
|
"VITE_SYMBOLS_URL": "https://pub-ac941e05e1284f409be2ed74ddb151b3.r2.dev/symbols",
|
|
"VITE_FOOTPRINTS_URL": "https://pub-ac941e05e1284f409be2ed74ddb151b3.r2.dev/footprints",
|
|
"VITE_ENABLE_CLOUD": "false",
|
|
"VITE_ENABLE_TELEMETRY": "false",
|
|
"VITE_ENABLE_AI": "false"
|
|
}
|
|
}
|
|
}
|