jmreidy / grunt-browserify

Grunt task for node-browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not config more tasks

zhipenglin opened this issue · comments

commented

can not config more path
browserify:{
files:[{
expand: true,
cwd: 'coffee/src',
src: '/*.coffee',
dest: 'bin',
ext: '.js'
},{
expand: true,
cwd: 'tpl',
src: '
/*.html',
dest: 'bin',
ext: '.js'
}],
options: {
transform: ['coffeeify','node-underscorify']
}
}
run:Running "browserify:files" (browserify) task
Warning: undefined is not a function Use --force to continue.

and can not config more tasks:
browserify:{
task_1:{
files:{
expand: true,
cwd: 'coffee/src',
src: '/*.coffee',
dest: 'bin',
ext: '.js'
}
},
task_2:{
files:{
expand: true,
cwd: 'tpl',
src: '
/*.html',
dest: 'bin',
ext: '.js'
}
},
options: {
transform: ['coffeeify','node-underscorify']
}
}
run:Running "browserify:task_1" (browserify) task
Warning: undefined is not a function Use --force to continue.