From 128802ebf372c795a1c3ced850327ec373d578f7 Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 24 Apr 2023 18:05:53 +0100 Subject: [PATCH] Fix build --- packages/server/src/api/index.ts | 2 -- packages/server/tsconfig.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/server/src/api/index.ts b/packages/server/src/api/index.ts index 9a036136be..b4ee0faa7d 100644 --- a/packages/server/src/api/index.ts +++ b/packages/server/src/api/index.ts @@ -3,8 +3,6 @@ import { auth, middleware, env as envCore } from "@budibase/backend-core" import currentApp from "../middleware/currentapp" import zlib from "zlib" import { mainRoutes, staticRoutes, publicRoutes } from "./routes" -import env from "../environment" -import pkg from "../../package.json" import { middleware as pro } from "@budibase/pro" export { shutdown } from "./routes/public" const compress = require("koa-compress") diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json index 7b2353d2db..e98a7cc9ff 100644 --- a/packages/server/tsconfig.json +++ b/packages/server/tsconfig.json @@ -5,6 +5,7 @@ "declaration": true, "sourceMap": true, "baseUrl": ".", + "outDir": "dist", "paths": { "@budibase/types": ["../types/src"], "@budibase/backend-core": ["../backend-core/src"],