Strips minErr error messages from your build.
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-minerr-strip --save-dev
In your project's Gruntfile, add a section named
minerr_strip to the data object passed into
This example strips
minErr errors from the files
baz.strip.js respectively. URLs logged to the command line will start with
Each target produces a JSON file of the same name containing errors and metadata. It can be configured with the following options:
object Default value:
Each entry is a
string mapping to
string. The object maps stripped file names to the dependent file to strip.
string Default value: ''
This url will be substituted in the production minErr implementation which is in turn substituted for minErr definitions in user code.
Pull requests are welcome! Remember to keep the following rules in mind:
grunt jshintto check this.