I recently started using GruntJS through Yeoman, and I like the idea of Javascript minification, but this creates difficulties during development. I tried to disable uglify, usemin, etc. In different combinations in the Grunt file, but everything seems to depend on another thing and breaks the process. Is there an easy way to disable minimization? I am using the latest version of Grunt proposed by Yeoman to date, I found that older solutions have a different Gruntfile setting than usd with Yeoman.
Here is my grunt file:
// Reads HTML for usemin blocks to enable smart builds that automatically
// concat, minify and revision files. Creates configurations in memory so
// additional tasks can operate on them
useminPrepare: {
options: {
dest: '<%= config.dist %>'
},
html: '<%= config.app %>/index.html'
},
http://hastebin.com/gicabukojo.js
source
share