Go Bundler is a JavaScript bundler engineered in Golang, designed for rapid asset compilation with minimal configuration. Currently at version 0.1.5, it remains in early development and is explicitly marked as not tested, to be used at one's own risk. Its core features include a built-in development server, automatic rebuilding upon file changes, and support for bundling HTML templates alongside JavaScript files. A key differentiator is its Go-based architecture, contributing to its stated fast performance. Non-JavaScript assets are automatically copied to the bundle directory and referenced as URLs. Due to its nascent stage, a predictable release cadence is not yet established, and it prioritizes ease of use and speed over extensive feature sets or stability guarantees.
npm install go-bundlerVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to install go-bundler and initiate its interactive configuration process, followed by typical usage in npm scripts.
Exercise caution when using in production environments. Pin exact versions (`npm install go-bundler@0.1.5`) and thoroughly test after any updates.
Do not expect a typical JavaScript API. Interact with it primarily via its command-line interface. For programmatic control, use `child_process` to execute the CLI.
Run `npx go-bundler` once manually or in a CI script capable of interactive input to generate the initial configuration file. Commit `go-bundler-config.json` to version control for subsequent non-interactive builds.
Use `npx go-bundler` to execute it, or define a script in your `package.json` (e.g., `"build": "go-bundler"`) and run `npm run build`.
This is expected behavior for initial setup. Follow the interactive prompts to generate the configuration file. Once generated, commit `go-bundler-config.json` to your repository.
No dependency data recorded yet.