mirror of
https://github.com/unmojang/drasl.git
synced 2025-08-03 19:06:04 -04:00

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`.
15 lines
278 B
JavaScript
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, })
|
|
],
|
|
});
|