@roots/bud-extensions
Version:
bud.js core module
89 lines (64 loc) • 5.03 kB
Markdown
<p align="center"><img src="https://cdn.roots.io/app/uploads/logo-bud.svg" height="100" alt="bud.js" /></p>
<p align="center">
<img alt="MIT License" src="https://img.shields.io/github/license/roots/bud?color=%23525ddc&style=flat-square" />
<img alt="npm" src="https://img.shields.io/npm/v/@roots/bud.svg?color=%23525ddc&style=flat-square" />
<img alt="Follow Roots" src="https://img.shields.io/twitter/follow/rootswp.svg?color=%23525ddc&style=flat-square" />
</p>
<h1 align="center"><strong>/bud-extensions</strong></h1>
<p align="center">
bud.js core module
</p>
---
## Installation
Install **/bud-extensions** to your project.
Yarn:
```sh
yarn add /bud-extensions --dev
```
npm:
```sh
npm install /bud-extensions --save-dev
```
## Exports
| label | description | exposed |
| ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------- |
| /bud-extensions/cdn | Adds remote import functionality | bud.cdn |
| /bud-extensions/esm | Adds ESM support functionality | bud.esm |
| /bud-extensions/clean-webpack-plugin | Cleans output directory on build | |
| /bud-extensions/copy-webpack-plugin | Copies assets (used by [bud.assets](https://bud.js.org/docs/bud.assets)) | |
| /bud-extensions/fix-style-only-entrypoints | Removes JS output from entrypoints which only contain CSS | |
| /bud-extensions/html-webpack-plugin | HTML functionality (used by [bud.html](https://bud.js.org/docs/bud.html)) | |
| /bud-extensions/interpolate-html-webpack-plugin | Adds `create-react-app`-like template variable support for HTML files | |
| /bud-extensions/mini-css-extract-plugin | Optimized CSS loading | |
| /bud-extensions/webpack-define-plugin | Defines variables which can be used in the application (used by [bud.define](https://bud.js.org/docs/bud.define)) | |
| /bud-extensions/webpack-hot-module-replacement-plugin | Adds HMR support | |
| /bud-extensions/webpack-manifest-plugin | Emits `manifest.json` | |
| /bud-extensions/webpack-provide-plugin | Provides import(s) globally to the application | |
## Contributing
Contributions are welcome from everyone.
We have [contribution guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) to help you get started.
## License
/bud-extensions is licensed under MIT.
## Community
Keep track of development and community news.
- Join us on Roots Slack by becoming a [GitHub
sponsor](https://github.com/sponsors/roots)
- Participate on the [Roots Discourse](https://discourse.roots.io/)
- Follow [ on Twitter](https://twitter.com/rootswp)
- Read and subscribe to the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)
## Sponsors
**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](https://github.com/sponsors/roots).
<a href="https://carrot.com/">
<img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="200" height="150"/>
</a>
<a href="https://wordpress.com/">
<img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="200" height="150"/>
</a>
<a href="https://worksitesafety.ca/careers/">
<img src="https://cdn.roots.io/app/uploads/worksite-safety.svg" alt="Worksite Safety" width="200" height="150"/>
</a>
<a href="https://www.itineris.co.uk/">
<img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" width="200" height="150"/>
</a>