Update build.mjs

This commit is contained in:
OTKUSteyler 2026-01-01 23:17:53 +00:00 • committed by GitHub
parent 2448c87def
commit dc93b81ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ let context = null;
const config = {
entryPoints: ["src/entry.ts"],
bundle: true,
outfile: "dist/gooncord.js",
outfile: "dist/shiggycord.js",
format: "iife",
splitting: false,
// Enable minification by default for release builds (when a release-branch is provided).
@ -44,6 +44,7 @@ const config = {
},
loader: {
".png": "dataurl",
".html": "text",
},
define: {
window: "globalThis",