if necessary, converts all files within the directory, and the remaining copies.. Then, change path in html files to new converted and copied files Supports all plug-ins which you can specify the SRC and DEST
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-smart-assets --save-dev
The "smart_assets" task
In your project's Gruntfile, add a section named
smart_assets to the data object passed into
Tasks to be performed for each file in the specified folder according to the extension
If you need something to do with the files after converting and copying
Clean dist folder before convert`
Add ?md5(file) to file name
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2014 Shapovalov Alexandr. Licensed under the MIT license.