0.1.3 • Published 4 years ago

html-bricks-plugin-sass v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

html-bricks-plugin-sass

Sass support for html-bricks using node-sass.

Requirements

html-bricks >= 0.3.

Installation

Install using npm

npm install --save-dev html-bricks-plugin-sass

Then include the plugin in your config

{
  "plugins": [
    "plugin-sass"
  ]
}

Usage

When you have sass files in your src folder (ending in .scss or .sass), these will be compiled to pure css and written to their original location but as .css files instead of sass files.

This means that you should include them using the .css extension.

Example

src/index.scss

body {
  & * {
    box-sizing: border-box;
  }
}

src/index.html

<head>
  <link rel="stylesheet" type="text/css" href="/index.css">
</head>
0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago