mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
Co-authored-by: Electroid <Electroid@users.noreply.github.com> Co-authored-by: Meghan Denny <meghan@bun.sh>
8 lines
252 B
JavaScript
Executable File
8 lines
252 B
JavaScript
Executable File
// @bun
|
|
// Used to generate a features.json file after building Bun.
|
|
|
|
import { writeFileSync } from "node:fs";
|
|
import { crash_handler } from "bun:internal-for-testing";
|
|
|
|
writeFileSync("./features.json", JSON.stringify(crash_handler.getFeatureData()));
|