1.0.0 • Published 6 years ago

inline-source-html-webpack-plugin v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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