Hello everyone, I am new here.
I wanted to test run the Elysia template on Vercel but I keep running into the issue entrypoint cannot be found. I followed everything the docs said, using an index.ts file in the src directory. I am then using a custom build script to build the project.
const result = await Bun.build({
entrypoints: ["./src/index.ts"],
target: "bun",
outdir: "./dist",
format: "esm",
define: {
"process.env.NODE_ENV": JSON.stringify("production"),
},
});
When the project is about to be deployed, the error entrypoint cannot be found is shown. Please, I need help.