A Byte Order Mark (BOM) removal task for grunt.
npm install grunt-bom-removal> A Byte Order Mark removal task for grunt.
~1.0.0If 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:
``shell`
npm install grunt-bom-removal --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js`
grunt.loadNpmTasks('grunt-bom-removal');
This plugin was designed to work with Grunt 1.0.x. If you're still using an older version it's strongly recommended that you upgrade.
command._Task targets, files and options may be specified according to the grunt Configuring tasks guide.
$3
#### printMissed
Type:
Boolean
Default: falseThis allows to print in log missed files without BOM.
$3
There are three formats you can use to run this task.
#### Short
`js
bom: ["path/to/file/one.txt", "path/to/file/two.js"]
`#### Medium (specific targets with global options)
`js
bom: {
build: ["path/to/file/one.txt", "path/to/file/two.txt"],
release: ["path/to/another/file/one.js", "path/to/another/file/two.js"]
},
`#### Long (specific targets with per target options)
`js
bom: {
build: {
src: ["path/to/file/one.txt", "path/to/file/two.txt"]
}
}
``