Skip to content

Instantly share code, notes, and snippets.

@yungyili
Created September 18, 2014 09:05
Show Gist options
  • Save yungyili/ae94e6c4b0aef8fe3c5c to your computer and use it in GitHub Desktop.
Save yungyili/ae94e6c4b0aef8fe3c5c to your computer and use it in GitHub Desktop.
gruntfile.patch
diff --git a/nailgun/Gruntfile.js b/nailgun/Gruntfile.js
index 67d99f4..1f1e9de 100644
--- a/nailgun/Gruntfile.js
+++ b/nailgun/Gruntfile.js
@@ -25,7 +25,7 @@ module.exports = function(grunt) {
dir: staticDir,
mainConfigFile: 'static/js/main.js',
waitSeconds: 60,
- optimize: 'uglify2',
+ optimize: '',
optimizeCss: 'standard',
pragmas: {
compressed: true
@@ -126,7 +126,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-bower-task');
grunt.loadNpmTasks('grunt-debug-task');
grunt.registerTask('trimstatic', ['clean', 'cleanempty']);
- grunt.registerTask('build', ['bower', 'less', 'requirejs', 'trimstatic']);
+ grunt.registerTask('build', ['bower', 'less', 'requirejs']);
grunt.registerTask('default', ['build']);
grunt.task.loadTasks('grunt');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment