Fix external React lib name
parent
820bb3d966
commit
d9f5cd3101
|
@ -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
|
@ -9,9 +9,9 @@ module.exports = {
|
|||
libraryTarget: 'umd',
|
||||
},
|
||||
|
||||
externals: [
|
||||
'react',
|
||||
],
|
||||
externals: [{
|
||||
'react': 'React',
|
||||
}],
|
||||
|
||||
module: {
|
||||
loaders: [
|
||||
|
|
Loading…
Reference in New Issue