Configurable, extensible build tools for modern single and multi-page web applications
bud.js wants to be:
- Reliable, yielding consistent and predictable behaviors regardless of specified options.
- Fast, leveraging parallel processing, smart caching and an asyncronous events based API to keep build times minimal.
- Extensible, with a fully featured plugin system to support an ecosystem of packaged modules.
- Simple, to get started and straight forward to maintain.
- Zero config by default. Check out this codesandbox template with react, postcss modules and no config.
- Modular by design. Use only what you need.
- Multi-compiler support.
- Heckin’ fast.
- Lux developer tooling and semi-automated dependency management.
- Support for configuration files authored with TypeScript, JSON, YML, CJS and ESM.
- Support for CDNs like skypack and unpkg.
- Customizable and extensible.
- Node 16+
- yarn 1.22 or higher
- npm 8.3 or higher
- Windows users must run bud.js under the Windows Subsystem for Linux.
Quickly scaffold a new project with create-bud-app
:
npx create-bud-app
If you want to add bud.js to an existing project or want to further customize the scaffolded app check out the Getting Started guide.
There are many example implementations available.
ℹ Presets are a collection of extensions which are commonly used together. There are currently three presets: our general preset, a WordPress specific preset, and the preset used in the roots/sage theme.
Package name | Usage | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-preset-recommend | 📚 Docs | ||
@roots/bud-preset-wordpress | 📚 Docs | ||
@roots/sage | 📚 Docs |
ℹ These extensions provide support for languages and syntaxes which are not understood by the browser and require compilation.
Name | README | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-babel | 📚 Docs | ||
@roots/bud-esbuild | 📚 Docs | ||
@roots/bud-mdx | 📚 README | ||
@roots/bud-postcss | 📚 Docs | ||
@roots/bud-sass | 📚 Docs | ||
@roots/bud-swc | 📚 Docs | ||
@roots/bud-typescript | 📚 Docs |
ℹ These extensions optimize compiled code and static assets to help ensure a high quality user experience in your app. They are typically only run in
production
mode.
Name | README | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-compress | 📚 README | ||
@roots/bud-criticalcss | 📚 Docs | ||
@roots/bud-imagemin | 📚 Docs | ||
@roots/bud-purgecss | 📚 Docs |
ℹ These extensions provide support for popular application frameworks like React & Vue. Make sure to install a compatible compiler or preprocessor.
Name | README | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-emotion | 📚 Docs | ||
@roots/bud-react | 📚 Docs | ||
@roots/bud-solid | 📚 Docs | ||
@roots/bud-tailwindcss | 📚 Docs | ||
@roots/bud-vue | 📚 Docs |
ℹ These extensions ensure source code conforms to a specified style. Linting configuration is expected to be provided by the user, but a base eslint config is available: @roots/eslint-config.
Name | README | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-eslint | 📚 Docs | ||
@roots/bud-prettier | 📚 README | ||
@roots/bud-stylelint | 📚 Docs |
ℹ All of these extensions are included in @roots/bud-preset-wordpress.
Name | README | Stable Release | Preview Release |
---|---|---|---|
@roots/bud-tailwindcss-theme-json | 📚 README | ||
@roots/bud-wordpress-dependencies | 📚 README | ||
@roots/bud-wordpress-externals | 📚 README | ||
@roots/bud-wordpress-theme-json | 📚 README |
ℹ The following extensions are maintained by the community. Please refrain from making issues in this repo regarding these extensions.
Name | README | Stable Release |
---|---|---|
bud-embedded | 📚 README | |
bud-localtunnel | 📚 README | |
bud-wp-editor-query | 📚 README |
Have you produced a bud.js extension and want to share it here? Please, create an issue sharing information about your project.
For more information on authoring your own extension consult the documentation and the source code of the extensions in this repository.
ℹ @roots/bud is actually made up of a number of packages. You only need to install
@roots/bud
to use bud.js.
ℹ These packages are not specific to bud.js but are used by the framework. They could be used in other projects outside of the context of bud.js.
Contributions are welcome from everyone.
We have contribution guidelines to help you get started.
bud.js is licensed under MIT.
Keep track of development and community news.
- Join us on Roots Slack by becoming a GitHub sponsor
- Participate on the Roots Discourse
- Follow @rootswp on Twitter
- Read and subscribe to the Roots Blog
- Subscribe to the Roots Newsletter
bud.js is an open source project and completely free to use.
However, the amount of effort needed to maintain and develop new features and projects within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider sponsoring Roots.