Nagging Penguin Matriarchs

    react-app-rewire-provide-plugin

    1.0.0 • Public • Published

    react-app-rewire-provide-plugin

    Add webpack.ProvidePlugin to a react-app-rewired config.

    const rewireProvidePlugin = require('react-app-rewire-provide-plugin')
     
    // Use `webpack.ProvidePlugin` to add jQuery globally
    config = rewireProvidePlugin(config, env, {
      'window.jQuery': 'jquery'
    })

    Install

    npm i react-app-rewire-provide-plugin

    DownloadsWeekly Downloads

    289

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jtheis85