This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-xmlmin --save-dev
Run this task with the
grunt xmlmin command.
See the pretty-data docs for more in-depth explanation of the options and caveats.
Preserve XML comments.
gruntinitConfigxmlmin: // Taskdist: // Targetoptions: // Target optionspreserveComments: truefiles: // Dictionary of files'dist/books.xml': 'src/books.xml' // 'destination': 'source';gruntregisterTask'default' 'xmlmin';
Task submitted by Danny Trunk
This file was generated on Fri May 01 2015 20:43:31.