Created
June 22, 2016 04:05
-
-
Save tingletech/945deccb63ea9d25fd4aff16c137abe3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/Gruntfile.js b/Gruntfile.js | |
index 6846188..ed662fb 100644 | |
--- a/Gruntfile.js | |
+++ b/Gruntfile.js | |
@@ -233,7 +233,8 @@ module.exports = function (grunt) { | |
// additional tasks can operate on them | |
useminPrepare: { | |
options: { | |
- dest: '<%= config.dist %>' | |
+ dest: '<%= config.dist %>', | |
+ flow: { steps: { js: ['concat'], css: ['concat', 'cssmin'] }, post: {} } | |
}, | |
html: '<%= config.app %>/index.html' | |
}, | |
@@ -318,6 +319,7 @@ module.exports = function (grunt) { | |
// dist: {} | |
// }, | |
+ | |
// Copies remaining files to places other tasks can use | |
copy: { | |
dist: { | |
@@ -453,7 +455,7 @@ module.exports = function (grunt) { | |
'autoprefixer', | |
'concat', | |
'cssmin', | |
- 'uglify', | |
+ // 'uglify', | |
'include:build', | |
'copy:dist', | |
'modernizr', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You absolute legend. You just saved me hours, possibly days of research! Thank you!!