In my Gruntfile.js , I have:
grunt.initConfig({ // ... uglify: { debug: { options: { mangle: false, compress: false, beautify: true } }, }, }); grunt.registerTask('build', [ //... 'uglify', //... ]);
I would like to have
grunt build
Create a native version of my js code using the default values ββfor the uglify task, and
grunt build:debug
create an intact version of the same code, but the option: debug has no effect - it launches the uglify task with default parameters. Any thoughts on what I can do wrong?
source share