html-webpack-inline-plugin
Inline all
<script>
,<link>
and<img>
tags that contain theinline
attribute with inline-source.
Installation
npm install --save-dev html-webpack-inline-plugin
Basic Usage
Require the plugin in your webpack config:
var HtmlWebpackInlinePlugin = ;
Add the plugin to your webpack config as follows:
plugins:
Add the tag to your html template as follows:
Inspired by
License
This project is licensed under MIT.