0.0.4 • Published 7 years ago

html-webpack-add-assets-plugin v0.0.4

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

html-webpack-add-assets-plugin

Installation

npm install html-webpack-add-assets-plugin --save-dev

Usage

const HtmlWebpackPlugin = require('html-webpack-plugin');
const htmlWebpackAddAssetsPlugin = require('html-webpack-add-assets-plugin');

module.exports = {
  // ...your Webpack config
  plugins: [
    new HtmlWebpackPlugin(),
    new htmlWebpackAddAssetsPlugin([{
      url: 'http://absolute.path.of.file.js',
    }, {
      url: 'https://absolute.path.of.file.js',
    }])
  ]
};