File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Netlify configuration file inside apps/viewer
2+ # Reference: https://docs.netlify.com/configure-builds/file-based-configuration/
3+
4+ [build ]
5+ # Build command to run. Since Netlify handles workspace dependency resolution,
6+ # we specify our specific app target build filter.
7+ command = " pnpm --filter hdmap-viewer build"
8+
9+ # Directory containing the static site assets to be published.
10+ publish = " dist"
11+
12+ # Single Page Application (SPA) redirect rule
13+ # Redirects all requests to index.html for client-side routing
14+ [[redirects ]]
15+ from = " /*"
16+ to = " /index.html"
17+ status = 200
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://openapi.vercel.sh/vercel.json" ,
3+ "buildCommand" : " pnpm --filter hdmap-viewer build" ,
4+ "outputDirectory" : " dist" ,
5+ "framework" : " vite" ,
6+ "cleanUrls" : true ,
7+ "rewrites" : [
8+ {
9+ "source" : " /(.*)" ,
10+ "destination" : " /index.html"
11+ }
12+ ]
13+ }
Original file line number Diff line number Diff line change 1+ # Netlify configuration file at the monorepo root
2+ # Reference: https://docs.netlify.com/configure-builds/file-based-configuration/
3+
4+ [build ]
5+ # Command to run from the root of the workspace.
6+ # This uses Turborepo to build dependencies (opendrive-parser) and then the viewer.
7+ command = " pnpm build"
8+
9+ # Directory containing the static site assets to be published.
10+ publish = " apps/viewer/dist"
11+
12+ # Single Page Application (SPA) redirect rule
13+ # Redirects all requests to index.html for client-side routing
14+ [[redirects ]]
15+ from = " /*"
16+ to = " /index.html"
17+ status = 200
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://openapi.vercel.sh/vercel.json" ,
3+ "buildCommand" : " pnpm build" ,
4+ "outputDirectory" : " apps/viewer/dist" ,
5+ "framework" : " vite" ,
6+ "cleanUrls" : true ,
7+ "rewrites" : [
8+ {
9+ "source" : " /(.*)" ,
10+ "destination" : " /index.html"
11+ }
12+ ]
13+ }
You can’t perform that action at this time.
0 commit comments