Neapolitan Pasta Maker

    html-webpack-add-assets-plugin

    0.0.4 • Public • Published

    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',
        }])
      ]
    };

    Install

    npm i html-webpack-add-assets-plugin

    DownloadsWeekly Downloads

    7

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • bammoo