如何使用Live Sass Compiler将所有scss编译为style.css?
我在 /scss 文件夹中有大约 50 个 scss 文件。当我编辑它们时,我需要将其编译为 root 中的一个 style.css 。我到底需要在设置中添加什么?
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": "style.css",
"savePath": "/"
}
],
这不起作用
我需要这个:
I have around 50 scss files in folder /scss. When im editing them i need compile it to one style.css with is in root. What exactly i have to add to settings?
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": "style.css",
"savePath": "/"
}
],
This not works
I need this:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该扩展不是打包工具。您需要一个用于导入所有文件的
style.scss
文件。类似于下面的内容或者,看看是否可以使用 webpack
The extension is not a packing tool. You need a
style.scss
file that imports all of your files. Something like the belowAlternatively, see if webpack can be used