type
Build.TrimFeature
type TrimFeature =
| 'cli'
| 'lint'
| 'fmt'
| 'check'
| 'install'
| 'aot'
| 'repl'
| 'create'
| 'upgrade'
| 'run'
| 'spawn'
| 'process-kill'
| 'process-report'
| 'dialogs'
| 'ipc'
| 'native-code'
| 'jit'
| 'interpreter'
| 'bundler'
| 'test'
| 'inspector'
| 'profiler'
| 'source-maps'
| 'image'
| 'archive'
| 'sqlite'
| 'sql'
| 'redis'
| 's3'
| 'html-rewriter'
| 'ffi'
| 'native-addons'
| 'webassembly'
| 'shell'
| 'webview'
| 'fetch'
| 'serve'
| 'sockets'
| 'dns'
| 'http2'
| 'http3'
| 'websocket'
| 'udp'
| 'worker'
| 'node-vm'
| 'node-crypto'
| 'web-crypto'
| 'password'
| 'brotli'
| 'intl'
| 'intl-segmenter'
| 'temporal'
| 'bun-jsc'
| 'plugin'
| 'fs-router'
| 'terminal'
| 'cron'
| 'secrets'
| 'markdown'
| 'yaml'
| 'toml'
| 'json5'
| 'jsonc'
| 'jsonl'
| 'xml'
| 'glob'
| 'semver'
| 'color'
| 'cookie'
| 'csrf'
| 'hash'
| 'crypto-hasher'
| 'url-pattern'
The name of a feature of Bun that compile.trim.allow keeps in an executable and compile.trim.remove takes out of it.