atproto user agency toolkit for individuals and groups
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 19 lines 516 B view raw
1import { build } from "esbuild"; 2import { join, dirname } from "node:path"; 3import { fileURLToPath } from "node:url"; 4 5const __dirname = dirname(fileURLToPath(import.meta.url)); 6// __dirname is dist/ after tsc, root is one level up 7const root = join(__dirname, ".."); 8 9await build({ 10 entryPoints: [join(root, "src", "ui", "app.ts")], 11 bundle: true, 12 format: "esm", 13 outfile: join(root, "dist", "ui", "app.js"), 14 minify: true, 15 sourcemap: true, 16 target: "es2022", 17}); 18 19console.log("UI bundle built: dist/ui/app.js");