Newton's Principia Mathematica

    @isoden/polyfill-io-html-webpack-plugin

    0.0.3 • Public • Published

    @isoden/polyfill-io-html-webpack-plugin

    Installation

    $ npm install @isoden/polyfill-io-html-webpack-plugin --save-dev
    

    Usage

    // webpack.config.js
    
    const HtmlWebpackPlugin = require('html-webpack-plugin')
    const PolyfillIoHtmlWebpackPlugin = require('@isoden/polyfill-io-html-webpack-plugin')
    
    module.exports = (env) => {
      ...
      plugins: [
        new HtmlWebpackPlugin(),
        new PolyfillIoHtmlWebpackPlugin({
          disabled: !env.production // it will only work in production build
        }),
      ]
    }

    Install

    npm i @isoden/polyfill-io-html-webpack-plugin

    DownloadsWeekly Downloads

    6

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    202 kB

    Total Files

    6

    Last publish

    Collaborators

    • isoden