Hi everyone! I'm trying to deploy my first application using Turborepo and a bit different combination of tools provided by Vercel. My scenario is, usually I've been using @vercel/node and a simple Express application to serve static HTML pages using the file below:
{ "builds": [ { "src": "index.js", "use": "@vercel/node" }, { "src": "public/**", "use": "@vercel/static" } ], "routes": [ { "src": "/(.*)", "dest": "index.js" } ]}And my Turborepo file looks like this:
{ "$schema": "https://turborepo.com/schema.json", "ui": "tui", "tasks": { "build": { "dependsOn": ["^build"], "env": ["GOOGLE_ANALYTICS", "SANITY_API", "SANITY_DATABASE", "SANITY_PROJECT"], "inputs": ["$TURBO_DEFAULT$", ".env*"], "outputs": ["dist/**"] }, "lint": { "dependsOn": ["^lint"] }, "check-types": { "dependsOn": ["^check-types"] }, "dev": { "cache": false, "persistent": true } }}I'm honestly a bit lost on the way I can make sure I still can serve my compiled index.js with tsup in a Turborepo application, happy to provide some further examples and things if needed, this is a really uncomon practice since I just love deploying Express applications that serves HTML (using Twig and static HTML + CSS files).