Skip to content

Instantly share code, notes, and snippets.

@tingletech
Created June 22, 2016 04:05
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tingletech/945deccb63ea9d25fd4aff16c137abe3 to your computer and use it in GitHub Desktop.
Save tingletech/945deccb63ea9d25fd4aff16c137abe3 to your computer and use it in GitHub Desktop.
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',
@liquidvisual
Copy link

You absolute legend. You just saved me hours, possibly days of research! Thank you!!

@foxdog05000
Copy link

Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment