admin管理员组文章数量:1306038
I tried to compile sass using Visual Studio with the “live sass compiler” extension, I'm a bit confused about how to set Sass with CSS. kindly check to see if this correct setting compares with the attachment image.
"liveSassCompile.settings.includeItems": \[ \],
"liveSassCompile.settings.watchOnLaunch": true,
"liveSassCompile.settings.useNewCompiler": true,
"liveSassCompile.settings.showOutputWindowOn": "Warning",
"liveSassCompile.settings.formats": \[
{
"format": "expanded",
"extensionName": ".css",
"savePath": null,
"savePathReplacementPairs": null
},
{
"format": "compressed",
"extensionName": ".css",
"savePath": null,
"savePathReplacementPairs": null,
"generateMap": false
}
\],
"liveSassCompile.settings.excludeList": \[
"/**/node_modules/**",
"/.vscode/**"
\]
}
I’ve attached a file screenshot, but I need your help to see if this setting is correct for compiler sass.
I tried to compile sass using Visual Studio with the “live sass compiler” extension, I'm a bit confused about how to set Sass with CSS. kindly check to see if this correct setting compares with the attachment image.
"liveSassCompile.settings.includeItems": \[ \],
"liveSassCompile.settings.watchOnLaunch": true,
"liveSassCompile.settings.useNewCompiler": true,
"liveSassCompile.settings.showOutputWindowOn": "Warning",
"liveSassCompile.settings.formats": \[
{
"format": "expanded",
"extensionName": ".css",
"savePath": null,
"savePathReplacementPairs": null
},
{
"format": "compressed",
"extensionName": ".css",
"savePath": null,
"savePathReplacementPairs": null,
"generateMap": false
}
\],
"liveSassCompile.settings.excludeList": \[
"/**/node_modules/**",
"/.vscode/**"
\]
}
I’ve attached a file screenshot, but I need your help to see if this setting is correct for compiler sass.
Share Improve this question edited Feb 3 at 16:52 James Z 12.3k10 gold badges27 silver badges47 bronze badges asked Feb 3 at 15:08 user1953826user1953826 412 silver badges8 bronze badges1 Answer
Reset to default 0There's one error that will cause you're files to override each other
The compiler would save the expanded and compressed version with a ".css" extension - so whichever saved first would be overwrote by the last
I'd suggest you use the ".min.css" for the compressed version
本文标签: cssVisual studio Code using Sass is not compilingStack Overflow
版权声明:本文标题:css - Visual studio Code using Sass is not compiling - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741813440a2398934.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论