Build and bundle commands compile your TypeScript code and generate type definitions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/botpress/botpress/llms.txt
Use this file to discover all available pages before exploring further.
bp build
Generate types and bundle code:- Runs
bp generateto create type definitions - Runs
bp bundleto compile code
bp bundle
Bundle code without generating types:- CommonJS bundle:
.botpress/dist/index.cjs - ESM bundle:
.botpress/dist/index.mjs
Options
—workDir
Specify working directory:Build output
Build creates:bp generate
Generate only type definitions:bp gen
Generates TypeScript types in .botpress/ directory.