https://github.com/nuintun/html-webpack-bom-plugin
Add utf8 BOM for the html file.
https://github.com/nuintun/html-webpack-bom-plugin
Last synced: about 1 year ago
JSON representation
Add utf8 BOM for the html file.
- Host: GitHub
- URL: https://github.com/nuintun/html-webpack-bom-plugin
- Owner: nuintun
- License: mit
- Created: 2018-08-01T01:51:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T08:23:48.000Z (about 6 years ago)
- Last Synced: 2025-03-23T01:37:42.223Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# html-webpack-bom-plugin
> Add utf8 BOM for the html file.
>
> [![NPM Version][npm-image]][npm-url]
> [![Download Status][download-image]][npm-url]
> ![Node Version][node-image]
# Usage
```js
const HTMLWebpackBOMPlugin = require('html-webpack-bom-plugin');
module.exports = {
// ... webpack configure
plugins: [
// ... webpack plugins
new HTMLWebpackBOMPlugin()
]
};
```
# License
[MIT](LICENSE)
[node-image]: http://img.shields.io/node/v/html-webpack-bom-plugin.svg?style=flat-square
[npm-image]: http://img.shields.io/npm/v/html-webpack-bom-plugin.svg?style=flat-square
[npm-url]: https://www.npmjs.org/package/html-webpack-bom-plugin
[download-image]: http://img.shields.io/npm/dm/html-webpack-bom-plugin.svg?style=flat-square