title: Grunt / Assemble - output html minification
body: <p>I'm using Grunt and assemble to build my HTML pages for a static site and I want to minify my HTML.</p>
  
  <p>So I would assume that Assemble the plugin that runs the handlebars templates against a data set would have a minify option.</p>
  
  <p>There is no mention of it on the Assemble docs;
  <a href="http://assemble.io/docs/Options.html#configuration-options" rel="nofollow">http://assemble.io/docs/Options.html#configuration-options</a></p>
  
  <p>But there is a mention that alludes to in handlebars-helper-minify docs;
  <a href="https://www.npmjs.org/package/handlebars-helper-minify#-assemble-task-options" rel="nofollow">https://www.npmjs.org/package/handlebars-helper-minify#-assemble-task-options</a>
  - But this has no effect.</p>
  
  <p>I cannot find anything else on the internet, surely this is a more common request...</p>
  
  <pre><code>grunt.initConfig({
      assemble: {
                  options: {
                      assets: '../source',
                      data: ['package.json','data/*.{json,yml}'],
                      partials: 'templates/modules/*.hbs',
                      ext: '.html',
                      helpers: 'templates/helpers/*.js',
                      layout: 'templates/layout/master.hbs',
                      removeHbsWhitespace: true,
                      minify: {
                          removeAttributeQuotes: true,
                          collapseWhitespace: true
                      }
                  },
                  dev: {
                      options: {
                          production: false
                      },
                      files: [{
                          expand: true,
                          cwd: 'templates/pages',
                          src: ['*.hbs'],
                          dest: '../source'
                      }]
                  }
      }
  });
  </code></pre>