diff --git a/apps/web/next.config.js b/apps/web/next.config.js index f79098c90..253c3d885 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -4,7 +4,7 @@ require("dotenv").config({ path: "../../.env" }); const nextConfig = { reactStrictMode: true, swcMinify: true, - distDir: "build", + distDir: "../../build", }; const withTM = require("next-transpile-modules")(["@documenso/prisma"]); diff --git a/package.json b/package.json index 58b212c2f..81baed302 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "documenso-monorepo", "version": "0.0.0", + "scripts": { + "build": "cd apps&cd web&next build", + "start": "next start" + }, "workspaces": [ "apps/*", "packages/*"