mchalapuk/webpack-external-react


Webpack config helpers to exclude react from bundle and load it from external script (via CDN).

License: MIT

Language: JavaScript

Keywords: cdn, external, react, util, webpack


webpack-external-react

NPM version Build Status Dependency Status devDependency Status

Webpack config helpers to exclude react from bundle and load it from external script (via CDN).

Installation

npm install --save-dev webpack-external-react

Loading

const externalReact = require('webpack-external-react');

Usage

// in webpack config
module.exports = {
  ...

  externals: externalReact.externals,

  module: {
    noParse: externalReact.noParse,

    ...
  },
}

License

Copyright © 2017 - 2019 Maciej Chałapuk. Released under MIT License.

Project Statistics

Sourcerank 3
Repository Size 436 KB
Stars 1
Forks 0
Watchers 1
Open issues 0
Dependencies 349
Contributors 1
Tags 12
Created
Last updated
Last pushed

Top Contributors See all

Maciej Chałapuk

Packages Referencing this Repo

webpack-external-react
Webpack config helpers to exclude react from bundle and load it from external script (via CDN).
Latest release 1.1.12 - Updated - 1 stars

Recent Tags See all

v1.1.12 November 15, 2019
v1.1.11 October 23, 2019
v1.1.11 October 23, 2019
v1.1.10 October 19, 2019
v1.1.9 October 16, 2019
v1.1.8 October 11, 2019
v1.1.7 October 04, 2019
v1.1.6 September 30, 2019
v1.1.5 September 28, 2019
v1.1.4 September 26, 2019
v1.1.3 September 14, 2019
v1.1.2 August 27, 2019

Something wrong with this page? Make a suggestion

Last synced: 2019-11-15 15:02:38 UTC

Login to resync this repository