@roots/bud-build
bud.js core module
Installation
Install @roots/bud-build to your project.
Yarn:
yarn add @roots/bud-build --dev
npm:
npm install @roots/bud-build --save-dev
Exports
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.
Keep track of development and community news.
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.