Files
go-otel/rum/build.mjs
T
mats 193e6c6e39
Build and Publish / Metadata (push) Successful in 4s
Build and Publish / BuildAndPushAmd64 (push) Failing after 1m27s
update rum
2026-11-04 13:04:34 +01:00

15 lines
375 B
JavaScript

import { build } from 'esbuild';
import { fileURLToPath } from 'node:url';
await build({
absWorkingDir: fileURLToPath(new URL('.', import.meta.url)),
entryPoints: ['src/otel-rum.ts', 'src/otel-todo.ts'],
outdir: '../static',
bundle: true,
format: 'iife',
platform: 'browser',
target: ['es2020'],
minify: true,
sourcemap: 'external',
logLevel: 'info',
});