the-island/node-sass 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

the-island/node-sass

最新稳定版本:0.5

Composer 安装命令:

composer require the-island/node-sass

包简介

libsass Assetic filter

README 文档

README

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)
  • source_map - boolean to set the source_map to true or false

统计信息

  • 总下载量: 27.76k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-24