Package Exports
- @roots/bud-compiler
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@roots/bud-compiler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@roots/bud-compiler
Overview
The compiler renders the Bud developer CLI and provides a development server for hot reloading.
Installation
yarn add @roots/bud-compiler
Usage
The compiler is called as a function and expects a valid webpack configuration and an instance of Bud.
It returns an object that includes a compile
function. This initiates the compiler.
const {compiler} = require('@roots/bud-compiler')
const instance = compiler(bud, config)
instance.compile()
Contributing
Contributions are welcome from everyone.
We have contributing guidelines to help you get started.
Bud sponsors
Help support our open-source development efforts by becoming a patron.
Community
Keep track of development and community news.
- Participate on the Roots Discourse
- Follow @rootswp on Twitter
- Read and subscribe to the Roots Blog
- Subscribe to the Roots Newsletter
- Listen to the Roots Radio podcast