webpack-utf8-bom

1.4.0 • Public • Published

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)
  ],
 // ...
};

Readme

Keywords

Package Sidebar

Install

npm i webpack-utf8-bom

Weekly Downloads

1,657

Version

1.4.0

License

MIT

Unpacked Size

7.98 kB

Total Files

8

Last publish

Collaborators

  • cqqccqc