Package Exports
- @roots/bud-extensions
- @roots/bud-extensions/cdn
- @roots/bud-extensions/clean-webpack-plugin
- @roots/bud-extensions/copy-webpack-plugin
- @roots/bud-extensions/esm
- @roots/bud-extensions/fix-style-only-entrypoints
- @roots/bud-extensions/html-webpack-plugin
- @roots/bud-extensions/interpolate-html-webpack-plugin
- @roots/bud-extensions/interpolate-html-webpack-plugin/plugin
- @roots/bud-extensions/mini-css-extract-plugin
- @roots/bud-extensions/service
- @roots/bud-extensions/webpack-define-plugin
- @roots/bud-extensions/webpack-hot-module-replacement-plugin
- @roots/bud-extensions/webpack-manifest-plugin
- @roots/bud-extensions/webpack-provide-plugin
Readme
@roots/bud-extensions
bud.js core module
Installation
Install @roots/bud-extensions to your project.
Yarn:
yarn add @roots/bud-extensions --devnpm:
npm install @roots/bud-extensions --save-devExports
| label | description | exposed |
|---|---|---|
| @roots/bud-extensions/cdn | Adds remote import functionality | bud.cdn |
| @roots/bud-extensions/esm | Adds ESM support functionality | bud.esm |
| @roots/bud-extensions/clean-webpack-plugin | Cleans output directory on build | |
| @roots/bud-extensions/copy-webpack-plugin | Copies assets (used by bud.assets) | |
| @roots/bud-extensions/fix-style-only-entrypoints | Removes JS output from entrypoints which only contain CSS | |
| @roots/bud-extensions/html-webpack-plugin | HTML functionality (used by bud.html) | |
| @roots/bud-extensions/interpolate-html-webpack-plugin | Adds create-react-app-like template variable support for HTML files |
|
| @roots/bud-extensions/mini-css-extract-plugin | Optimized CSS loading | |
| @roots/bud-extensions/webpack-define-plugin | Defines variables which can be used in the application (used by bud.define) | |
| @roots/bud-extensions/webpack-hot-module-replacement-plugin | Adds HMR support | |
| @roots/bud-extensions/webpack-manifest-plugin | Emits manifest.json |
|
| @roots/bud-extensions/webpack-provide-plugin | Provides import(s) globally to the application |
Contributing
Contributions are welcome from everyone.
We have contribution guidelines to help you get started.
License
@roots/bud-extensions 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.