4
어떤 대상을 찾을 문제 내가 다음 파일을 작성했습니다
var _path = require('path');
module.exports = function (grunt) {
var config = {
};
function addProject(project) {
grunt.helper('addProject', config, project);
}
addProject({
name:'mytest',
type:'module',
sourcePath:'../source',
outputPath:'../test/',
version : grunt.option('ver')||'0.1.0.0'
});
grunt.registerTask('default', 'module closureCompiler');
grunt.initConfig(config);
};
내가 내 박쥐 파일 모듈 closureCompiler의 동기화 명령을 사용하여 실행
, 그것은Running "sync" task
>> No "sync" targets found.
<WARN> Task "sync" failed. Use --force
를 말하는 오류를 제공 grunt.js을 투덜 없습니다
이것은 무엇을 의미합니까?
grunt.initConfig({
sync: {
target: {} // <= needs to be defined
}
});
당신은 정확히 무엇 매개 변수를 전달하는 : – JJJ
ok tella howaand 어디서 동기화 작업을 구성해야합니까? – user1224036
https://github.com/tomusdrw/grunt-sync/blob/master/readme.md – JJJ