Fix external React lib name

exclude-unsupported-native-emojis
Etienne Lemay 2016-07-11 15:21:13 -04:00
parent 820bb3d966
commit d9f5cd3101
3 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
module.exports = factory(require("React"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
define(["React"], factory);
else if(typeof exports === 'object')
exports["EmojiPicker"] = factory(require("react"));
exports["EmojiPicker"] = factory(require("React"));
else
root["EmojiPicker"] = factory(root["react"]);
root["EmojiPicker"] = factory(root["React"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_3__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache

File diff suppressed because one or more lines are too long

View File

@ -9,9 +9,9 @@ module.exports = {
libraryTarget: 'umd',
},
externals: [
'react',
],
externals: [{
'react': 'React',
}],
module: {
loaders: [