Web applications made easy. Since 2011.
Fast front-end web app build tool with simple declarative config and seamless incremental compilation for rapid development.
This is a fork of the official brunch repo. This fork will have changes that are not present in the offical version.
- Revert back to the 4.0.0 commit
- Modify the plugins.js to use common js dynamic imports for plugins. This allows both common js and es modules to be used in the build pipeline.
- Change package name to @firstfleet/brunch for internal npm package use
- Added a new config value under config.npm.checkDependencies. This value controls whether brunch will try to update or install npm packages on watch and build. It defaults to true for backwards compatibility, but if set to false, brunch will not update or install npm packages. This adds support for things like monorepos, where your npm packages will be at the root of the workspace, and not at the project level.
- Add support for @firstfleet/auto-reload-brunch in the HMR check
Install Brunch with a simple node.js package manager command:
npm install -g @firstfleet/brunch
Create a new Brunch project:
brunch new [--skeleton url]
- skeleton specifies a skeleton from which your application will be initialized. The default skeleton (dead-simple) doesn't have any opinions about frameworks or libraries.
- brunch.io/skeletons contains over 50 boilerplate projects, which you can use to init your app from.
Develop with Brunch:
brunch watch --server
- tells Brunch to watch your project and incrementally rebuild it when source files are changed. The optional server flag launches a simple web server with push state support.
Deploy with Brunch:
brunch build --production
- builds a project for distribution. By default it enables minification.
- Visit brunch.io
- Read brunch docs
- Follow us on Twitter: @brunch
- Ask questions on Stack Overflow with #brunch tag
See the CONTRIBUTING.md document for more info on how to file issues or get your head into the Brunch's internals.
- To install edge version (from GitHub
npm install -g brunch/brunch
- To enable debug mode, simply pass
-dflag to any command like that:
brunch build -d
- To create your own plugin, check out our plugin boilerplate as a starting point.
MIT license (c) 2021 Paul Miller paulmillr.com, Elan Shanker, Nik Graf, Thomas Schranz, Allan Berger, Jan Monschke, Martin Schürrer
See LICENSE file.