Package Exports
- @roots/bud-compiler
Readme
@roots/bud-compiler
Overview
The compiler provides controls and renders Bud's built-in development server.
Installation
yarn add @roots/bud-compiler --dev
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