module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
copy: {
files: [
{expand: true,cwd:"js/" ,src: ['libs/*'], dest: '../test/js/libs/'},
{expand: true,cwd:"js/" , src: ['models/*'], dest: '../test/js/models/'}
]
}
});
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask("testcopy",["copy"] );
);
私はうなり声を学んでおり、コピー中に以下の問題に直面しています。
Warning: undefined is not a function Use --force to continue.
およびファイルがsrcから宛先にコピーされていません