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`, outdir: `${process.cwd()}/dist`,
target: "bun", target: "bun",
splitting: true, splitting: true,
minify: true, minify: false,
external: ["bullmq", "frontend"], external: ["bullmq", "frontend"],
}).then((output) => { }).then((output) => {
if (!output.success) { if (!output.success) {

View file

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

View file

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