html-webpack-beforehtml-plugin

1.0.0 • Public • Published

HTML Webpack Plugin

Installation

Install the plugin with npm:

$ npm html-webpack-beforehtml-plugin --save-dev

Usage:

Then in `webpack.config.js`

```javascript
plugins: [
   // css: false标识不注入提取的css
  new beforeHtmlPlugin({css: false})
]

Note that the callback must be passed the htmlPluginData in order to pass this onto any other plugins listening on the same html-webpack-plugin-before-html-processing event.

License

This project is licensed under MIT.

/html-webpack-beforehtml-plugin/

    Package Sidebar

    Install

    npm i html-webpack-beforehtml-plugin

    Weekly Downloads

    130

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • lzhengms