mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 09:56:31 +02:00
* mui v5 wip * wip * wip * wip * use compressor for all controlplane endpoints * wip * wip * add deps * fix authenticate URL * fix test * fix test * fix build * maybe fix build * fix integration test * remove image asset test * add yarn.lock
16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
import { build } from "esbuild";
|
|
|
|
build({
|
|
entryPoints: ["src/index.tsx"],
|
|
bundle: true,
|
|
outfile: "dist/index.js",
|
|
sourcemap: "inline",
|
|
watch: process.argv.includes("--watch"),
|
|
minify: !process.argv.includes("--watch"),
|
|
logLevel: "info",
|
|
loader: {
|
|
".svg": "dataurl",
|
|
".woff": "dataurl",
|
|
".woff2": "dataurl",
|
|
},
|
|
});
|