'<%= pkg.assets %>js/issue.js'
'<%= pkg.assets %>js/recent-history.js'
]
-
-
- uglify:
build:
- options:
- preserveComments: false # remove all comments
files:
'<%= pkg.assets %>build/js/sonar.js': [
'<%= pkg.assets %>js/translate.js'
requirejs:
options:
baseUrl: '<%= pkg.assets %>js/'
- preserveLicenseComments: false,
+ preserveLicenseComments: false
+ optimize: 'none'
paths:
'backbone': 'third-party/backbone'
grunt.registerTask 'default', ['clean:css', 'clean:js',
'less:build',
'coffee:build', 'handlebars:build', 'copy:js',
- 'uglify:build',
+ 'concat:build',
'requirejs', 'clean:js', 'copy:build', 'copy:requirejs', 'clean:build']
grunt.registerTask 'test', ['coffee:build', 'handlebars:build', 'copy:js', 'concat:dev', 'karma:unit']