Disable minification for debugging

This commit is contained in:
Jesse Wierzbinski 2024-04-14 01:37:32 -10:00
parent e67dc07473
commit 8939d17b8a
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

View file

@ -23,7 +23,7 @@ await Bun.build({
outdir: `${process.cwd()}/dist`,
target: "bun",
splitting: true,
minify: true,
minify: false,
external: ["bullmq", "frontend"],
}).then((output) => {
if (!output.success) {

View file

@ -37,6 +37,8 @@ export const schema = z.object({
"update",
"admin.sign_up",
"admin.report",
"chat",
"pleroma:chat_mention",
])
.array()
.optional(),
@ -52,6 +54,8 @@ export const schema = z.object({
"update",
"admin.sign_up",
"admin.report",
"chat",
"pleroma:chat_mention",
])
.array()
.optional(),

View file

@ -7,7 +7,6 @@ import {
findManyStatuses,
statusToAPI,
} from "~database/entities/Status";
import { db } from "~drizzle/db";
export const meta = applyConfig({
allowedMethods: ["GET"],