Replaces the files on your harddrive from local or network source.
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-file-replace --save-dev
The "grunt-file-replace" task
In your project's Gruntfile, add a section named
fileReplace to the data object passed into
Remote files must beggin with http or https
Key of the object is local file, value is remote file to grap and put on the place where key is located.
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 Daniel Husar. Licensed under the MIT license.