File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 55 # Directory that contains the deploy-ready HTML files and assets
66 publish = " dist/"
77
8+ # Build command with proper dependency installation
9+ command = " npm install --include=optional && npm run build"
10+
11+ [build .environment ]
12+ # Node.js version
13+ NODE_VERSION = " 18.20.8"
14+ # Force npm to install optional dependencies (native binaries)
15+ NPM_CONFIG_INCLUDE = " optional"
16+
17+ # Redirect rules for SPA routing
18+ [[redirects ]]
19+ from = " /*"
20+ to = " /index.html"
21+ status = 200 ory to change to before starting a build
22+ base = " client/"
23+
24+ # Directory that contains the deploy-ready HTML files and assets
25+ publish = " dist/"
26+
827 # Default build command
928 command = " npm run build"
1029
Original file line number Diff line number Diff line change 9494 "resolutions" : {
9595 "rollup" : " ^4.20.0" ,
9696 "@rollup/rollup-linux-x64-gnu" : " ^4.20.0" ,
97- "vite" : " ^5.4.5"
97+ "vite" : " ^5.4.5" ,
98+ "lightningcss" : " ^1.25.1"
9899 },
99100 "overrides" : {
100101 "rollup" : " ^4.20.0" ,
101- "vite" : " ^5.4.5"
102+ "vite" : " ^5.4.5" ,
103+ "lightningcss" : " ^1.25.1"
102104 }
103105}
You can’t perform that action at this time.
0 commit comments