laktek / punch-sass-compiler

Use Sass in your Punch projects

Home Page:https://github.com/laktek/punch/wiki/Adding-Pre-Compilers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sass Compiler for Punch

Use Sass for CSS generation in your Punch projects.

How to Use

  • Install the package

      npm install punch-sass-compiler
    
  • Open your Punch project's configurations (config.json) and add the following:

      "plugins": {
    
      	"compilers": {
      		".css": "punch-sass-compiler" 
      	}
    
      }
    
  • Now you can use Sass stylesheets in your project.

    Make sure you save the stylesheets with .sass or .scss extensions.

About

Use Sass in your Punch projects

https://github.com/laktek/punch/wiki/Adding-Pre-Compilers


Languages

Language:JavaScript 100.0%