Package Exports
- @roots/bud-build
- @roots/bud-build/item
- @roots/bud-build/items
- @roots/bud-build/loader
- @roots/bud-build/loaders
- @roots/bud-build/rule
- @roots/bud-build/rules
Readme
@roots/bud-build
bud.js core module
Installation
Install @roots/bud-build to your project.
Yarn:
yarn add @roots/bud-build --devnpm:
npm install @roots/bud-build --save-devExports
| Signifier | Description |
|---|---|
@roots/bud-build |
The bud.build service |
@roots/bud-build/item |
The Item class |
@roots/bud-build/rule |
The Rule class |
@roots/bud-build/loader |
The Loader class |
@roots/bud-build/items |
The default items |
@roots/bud-build/loaders |
The default loaders |
@roots/bud-build/rules |
The default rules |
Default rules
| Type | Description |
|---|---|
.js |
undefined |
.css |
mini-css-extract-plugin in production; style-loader in development |
.module.css |
mini-css-extract-plugin in production; style-loader in development |
.json |
json5 |
.toml |
toml |
.yml |
yml-loader |
.html |
html-loader |
.csv |
csv-loader |
.xml |
xml-loader |
.webp |
asset/resource |
.svg |
asset/resource |
.svg?inline |
asset/inline |
.png |
asset/resource |
.png?inline |
asset/inline |
.gif |
asset/resource |
.gif?inline |
asset/inline |
.jpg |
asset/resource |
.jpg?inline |
asset/inline |
.jpeg |
asset/resource |
.jpg?inline |
asset/inline |
.woff |
asset |
.woff?inline |
asset/inline |
.woff2 |
asset |
.woff2?inline |
asset/inline |
.otf |
asset |
.otf?inline |
asset/inline |
Contributing
Contributions are welcome from everyone.
We have contribution guidelines to help you get started.
License
@roots/bud-build is licensed under MIT.
Community
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
Sponsors
Help support our open-source development efforts by becoming a patron.