简体   繁体   English

将CSS更改添加到SCSS文件

[英]Add CSS changes to SCSS File

Say I've built a .CSS file that I compiled from a .SCSS file. 假设我已经建立了一个.CSS文件,该文件是从.SCSS文件编译而成的。

What happens if one of my team members directly edits the .CSS file, and I come along and recompile a change to the .SCSS file? 如果我的团队成员之一直接编辑.CSS文件,然后我又重新编译对.SCSS文件的更改怎么办?

How do I stop the direct updates to the CSS file being lost? 如何停止丢失对CSS文件的直接更新?

You can't. 你不能
You must enforce .css files to be only written by scss compiler. 您必须强制.css文件仅由scss编译器编写。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM