inline-source-html-webpack-plugin

1.0.0 • Public • Published

inline-source-html-webpack-plugin

Inline assets into the generated HTML by inline-source

Inline and compress tags that contain the inline attribute. Supports <script>, <link>, and <img> (including *.svg sources) tags by default, and is easily extensible to handle others.

Install

$ npm install --dev-save inline-source-html-webpack-plugin

Usage

import InlineSourceHtmlWebpackPlugin from 'inline-source-html-webpack-plugin'

// webpack config
module.exports = {
  ...
  plugins: [
    new HtmlWebpackPlugin()
    new InlineSourceHtmlWebpackPlugin([<option>])
  ]
}

Option

Refer to the inline-source

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i inline-source-html-webpack-plugin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • ccbabi