📜  sass config.json 与代码 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:40.579000             🧑  作者: Mango

代码示例1
{
    "liveSassCompile.settings.formats": [
        {
            "format": "expanded",
            "extensionName": ".css",
            "savePath": "./public/css"
        },
        {
            "extensionName": ".min.css",
            "format": "compressed",
            "savePath": "./public/css"
        }
    ],
    "liveSassCompile.settings.excludeList": [
        "**/node_modules/**",
        ".vscode/**"
    ],
    "liveSassCompile.settings.generateMap": false,
    //autoprefix, will auto add perfix like -webkit- -moz-..
    "liveSassCompile.settings.autoprefix": [
        "> 1%",
        "last 2 versions"
    ]
}