webpack-utf8-bom
v1.4.0
Published
ADD OR REMOVE BOM FOR WEBPACK
Downloads
9,442
Readme
webpack-utf8-bom
ADD or REMOVE UTF-8 BOM(byte order mark) for webpack.
Usage
In webpack config file:
var webpack = require('webpack');
// import plugin
var BomPlugin = require('webpack-utf8-bom');
module.exports = {
// ...
plugins: [
// Add plugin in plugins list
// true for adding bom
// false for removing bom
new BomPlugin(true)
],
// ...
};