我正试图让grunt-contrib-less为我编译一个更少的文件.我有以下gruntfile:
less: {
files: {
"httpdocs/static/assets/css/result.css": "httpdocs/static/assets/css/dashboard.less"
}
},
Run Code Online (Sandbox Code Playgroud)
路径肯定是正确的,我已经三次检查这些文件是否存在,但是,当我运行grunt时,我得到以下消息:
Running "less:files" (less) task
>> Destination not written because no source files were provided.
Run Code Online (Sandbox Code Playgroud)
我的gruntfile中缺少什么才能正确编译较少的文件?我正在撕扯我的头发,因为我知道这可能是非常简单但我无法理解的.