buildした時に、不要なデバッグ出力を無くすgruntプラグイン 1 2 3 bower install -S loglevel npm install -D grunt-remove-logging grunt bowerInstall 1 2 3 4 5 6 7 8 9 removelogging: { options: { namespace: ['log'], methods: ['setLevel', 'trace', 'debug'] }, dist: { src: ".tmp/concat/scripts/*.js" } }, 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 grunt.registerTask('build', [ 'clean:dist', 'useminPrepare', 'concurrent:dist', 'autoprefixer', 'concat', 'cssmin', 'removelogging', 'uglify', 'copy:dist', 'replace', 'modernizr', 'rev', 'usemin', 'htmlmin' ]);