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
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 |
JavaScript source |
.css |
Stylesheet source |
.module.css |
Stylesheet source (module) |
.json |
JSON source |
.toml |
Imported as JSON |
.yml |
Imported as JSON |
.html |
Imported as string |
.md |
Imported as string |
.svg |
Imported as asset/resource |
.png |
Imported as asset/resource |
.gif |
Imported as asset/resource |
.jpg |
Imported as asset/resource |
.jpeg |
Imported as asset/resource |
.webp |
Imported as asset/resource |
.woff |
Imported as asset/resource |
.woff2 |
Imported as asset/resource |
.otf |
Imported as asset |
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.