mirror of
https://github.com/cdr/code-server.git
synced 2026-01-02 13:57:02 +01:00
This commit sets up the Vite configuration for Cloudflare Pages, including optimizations, proxy settings, and environment variables. It also updates the package.json with new scripts for deployment and development. Co-authored-by: logato7838 <logato7838@vsihay.com>
11 lines
No EOL
271 B
JSON
11 lines
No EOL
271 B
JSON
{
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": "cloudflare/frontend/dist",
|
|
"rootDirectory": "cloudflare/frontend",
|
|
"installCommand": "npm install",
|
|
"framework": "vite",
|
|
"nodeVersion": "18",
|
|
"environmentVariables": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
} |