- Rewrite compile.ts from 112 to 66 lines: single target with auto-detect host, remove multi-target batch logic - Add compile:linux/mac/win scripts to server, root, and turbo configs - Wire desktop dist:* to depend on matching server compile:* (avoid unnecessary cross-platform compilation) - Update AGENTS.md docs across root, server, and desktop
23 lines
407 B
JSON
23 lines
407 B
JSON
{
|
|
"$schema": "../../node_modules/turbo/schema.json",
|
|
"extends": ["//"],
|
|
"tasks": {
|
|
"build": {
|
|
"env": ["NODE_ENV", "VITE_*"],
|
|
"outputs": [".output/**"]
|
|
},
|
|
"compile": {
|
|
"outputs": ["out/**"]
|
|
},
|
|
"compile:linux": {
|
|
"outputs": ["out/**"]
|
|
},
|
|
"compile:mac": {
|
|
"outputs": ["out/**"]
|
|
},
|
|
"compile:win": {
|
|
"outputs": ["out/**"]
|
|
}
|
|
}
|
|
}
|