drasl/esbuild.config.js
Evan Goode fb5f97afb2 WIP: "Skin challenge" system
Add a system for verifying that a user owns an account on another API
server (such as Mojang's). Drasl gives the user a skin to put on their
account, then checks that the account has the skin.

See `getChallenge` in `front.go`.
2022-09-21 19:16:11 -04:00

15 lines
278 B
JavaScript

import esbuild from "esbuild";
import inlineImage from "esbuild-plugin-inline-image";
esbuild.build({
entryPoints: ["js/main.ts"],
outfile: "public/bundle.js",
bundle: true,
// minify: true,
target: "es6",
format: "esm",
plugins: [
inlineImage({ limit: -1, })
],
});