UNPKG

@turingpointde/cvss.js

Version:

A tiny library to work with cvss vectors

32 lines (28 loc) 513 B
const output = await Bun.build({ entrypoints: ["index.ts"], outdir: "./dist", target: "browser", minify: false, define: { global: "window", }, }); if (!output.success) { for (const log of output.logs) { console.error(log); } } const output2 = await Bun.build({ entrypoints: ["index.ts"], outdir: "./dist_node", target: "node", minify: false, define: { window: "undefined", }, }); if (!output2.success) { for (const log of output2.logs) { console.error(log); } }