brackets使用brackets-sass插件怎样才能编译的scss输出到指定目录

流风回雪pj 发布于 2016/09/14 17:52
阅读 422
收藏 0

本地项目:

--Sass

---+ css

---+ scss

------+demo1.scss

---+ demo.html

---+ .brackets.json


.brackets.json文件内容:

/*
Resulting file tree will appear as follows:
+ bower_components/
|--- bourbon/app/assets/stylesheets/_bourbon.scss
+ css/
|--- app.css
|--- app.css.map
+ scss/
|--- app.scss
*/

/* REMOVE comments from json file before using this template */
{
    /* disable compiling other files that aren't the "main" file */
    "sass.enabled": false,
    "sass.compiler": "libsass",
    "path": {
        "scss/demo1.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../css/",
                "includePaths": [],
                "imagePath":null,
                "sourceComments": true,
                "outputStyle": "nested"
            },
            "linting.collapsed": false
        }
    }
}

但是我每次修改scss文件后,css和css.map都是在scss文件下生成的,怎么搞。。。

加载中
返回顶部
顶部