【发布时间】:2014-05-22 18:14:30
【问题描述】:
我正在尝试执行以下操作:
FOLDERS.GRUNT = "js/grunt"
grunt.initConfig({
//copies from .tmp to final locations
copy: {
dist: {
files: [{
expand: true,
dot: true,
dest: FOLDERS.GRUNT,
src: [
FOLDERS.GRUNT + '/.tmp/*.js'
]
}
]
}
},
我希望这些文件最终会出现在 js/grunt 中,但由于某种原因会出现在 js/grunt/js/grunt/.tmp/myfile.js 中
也尝试使用 cwd:FOLDERS.GRUNT,但遇到了同样的问题。
【问题讨论】:
标签: node.js gruntjs grunt-contrib-copy