Create a new bundler instance
The current working directory URL
TypeScript module reference
Bundler configuration options
CLI UI instance for displaying colorful messages and progress information
Package manager detected from the project environment
The current working directory URL
Bundler configuration options including hooks and meta files
Bundles the application to be run in production
Whether to stop the build process on TypeScript errors
Optionalclient: SupportedPackageManagerOverride the detected package manager
Promise that resolves to true if build succeeded, false otherwise
The bundler class exposes the API to build an AdonisJS project.
Example