react-app-rewire-html-webpack-plugin

1.2.1 • Public • Published

Rewire create-react-app to override html-webpack-plugin in your project

Let you to override html-webpack-plugin options

Install

$ yarn add react-app-rewired react-app-rewire-html-webpack-plugin -D
$ npm install react-app-rewired react-app-rewire-html-webpack-plugin --save-dev

Usage

Rewire your app than modify config-overrides.js

const rewireHtmlWebpackPlugin = require('react-app-rewire-html-webpack-plugin')

module.exports = function override(config, env) {
  const overrideConfig = {}
  config = rewireHtmlWebpackPlugin(config, env, overrideConfig)
  return config
}

/react-app-rewire-html-webpack-plugin/

    Package Sidebar

    Install

    npm i react-app-rewire-html-webpack-plugin

    Weekly Downloads

    588

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    4.22 kB

    Total Files

    5

    Last publish

    Collaborators

    • dongdon0639