A specialized build tool and transpiler for BetterDiscord plugins that allows developers to write plugins using multiple files, TypeScript, or modern JavaScript, then bundles them into a single plugin file compatible with BetterDiscord. Currently at version 1.2.6-preview.4, it's in preview stage and not yet released on the official npm registry. It provides features like production builds, watch mode for development, and automatic copying to the BetterDiscord plugins folder. Compared to alternatives like Ittai, BDBuilder is a simpler, dedicated solution for BetterDiscord plugin development, focusing on ease of use and essential functionality.
npm install bdbuilderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows configuration-based and CLI ways to build a BetterDiscord plugin with BDBuilder, including watch mode and copy destination.
Set up .npmrc file with @betterdiscordbuilder:registry=https://npm.pkg.github.com and authenticate with a GitHub token.
Migrate from ittai to @betterdiscordbuilder/bdbuilder for BetterDiscord plugin development.
Manually restart the watch process after adding new source files.
Update Node.js to a version >=14.
Create .npmrc with 'registry', authenticate with GitHub token, then reinstall.
Use import statement instead of require().