no-match
v1.1.2
Published
Npm module to delete all images that do not match the prefix inside the deplayment.json file
Downloads
7
Readme
No-Match Module
Installation
$ npm install no-match
Usage
Define these three variable according to your enviornment
var imagesFolder = appRoot + '/build/static/images/';
var imageDirectory = '/build/static/images/';
var prefix;
This module was created inside of a buil system we use. We currently configure a deployment.json file which contains all of our deployment data including the prefix of our images if you're wondering what the purpose of a deployment.json file is.
Change Log
1.1.0
- Initial release
- Added App root module te reference the root of the project