Skip to content

elmariachi111/node-sass-bundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-sass-bundle

libsass Assetic filter

Installation

Install node-sass via npm (not covered)

Add to composer.json:

  "the-island/node-sass": "*",

Add to AppKernel.php:

  new TheIsland\NodeSassBundle\TheIslandNodeSassBundle()

Add toconfig.yml:

the_island_node_sass:
    bin: /usr/local/bin/node-sass
    style: "nested"
    debug: false
    load_paths: [%kernel.root_dir%/../bower_components]
    apply_to: "^(?<!_).+\.scss$"
  • bin - path to a node-sass executable
  • style - see --output-style in node-sass -h
  • debug - turns on --source-comments
  • load_paths - adds paths to --include-path
  • node - path to your local node (might help if node is not on your path)

About

libsass Assetic filter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%