Created
September 18, 2014 09:05
-
-
Save yungyili/ae94e6c4b0aef8fe3c5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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