add -target=dev option to grunt to prevent minifying the source
This commit is contained in:
parent
aad33d0c4a
commit
8ec4f2f9c5
|
@ -16,7 +16,8 @@ module.exports = function(grunt) {
|
||||||
stdout: true,
|
stdout: true,
|
||||||
stderr: true
|
stderr: true
|
||||||
},
|
},
|
||||||
command: 'node ./browser/build.js -a',
|
command: grunt.option('target') === 'dev' ?
|
||||||
|
'node ./browser/build.js -a -d ' : 'node ./browser/build.js -a'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Reference in New Issue