An ESBuild plugin (v1.7.9) that uses Bitburner's Remote API to push compiled build results directly into the game. It supports automatic file uploading, file mirroring for bidirectional sync, and distribution of scripts to multiple servers. Key differentiators: seamless integration with the Bitburner editor, support for React with ingame React/ReactDOM instances, and optional Netscript definitions generation. This plugin is actively maintained and requires Node >=20.0.0.
npm install esbuild-bitburner-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an ESBuild context with the Bitburner plugin to watch and auto-upload scripts to the game.
Use context() with .watch() or .rebuild() instead of build().
Upgrade Node.js to version 20.0.0 or later.
Ensure outdir contains subdirectories named after in-game servers.
Monitor GitHub releases for deprecations.
Run 'npm install esbuild-bitburner-plugin' and ensure correct import syntax.
Use named import: import { BitburnerPlugin } from 'esbuild-bitburner-plugin'.Kill the other process or specify a different port in the plugin options.
Mark React as external: external: ['React'] in esbuild config.