@bb-cli/bb-build-plugin-sassdeprecated

Sass/css plugin for BB Config

Usage no npm install needed!

<script type="module">
  import bbCliBbBuildPluginSass from 'https://cdn.skypack.dev/@bb-cli/bb-build-plugin-sass';
</script>

README

BB-BUILD sass

Provides sass compilation BB CLI build tools (bb-serve, bb-build, bb-package).

Since v1.1.0, output CSS will be minified.

Install alongside bb-package, bb-serve, or bb-build (prefer global)

npm i -g @bb-cli/bb-build-plugin-sass

Usage

bb-serve project --build-plugins @bb-cli/bb-build-plugin-sass
# OR
bb-serve project --build-plugins sass

Make Alias

Add to your ~/.bash_profile or ~/.zshrc (etc):

# bash
echo "alias serve='bb-serve project --build-plugins sass'" >> ~/.bash_profile && source ~/.bash_profile

# zsh
echo "alias serve='bb-serve project --build-plugins sass'" >> ~/.zshrc && source ~/.zshrc

And enjoy:

serve