Fix external React lib name
parent
820bb3d966
commit
d9f5cd3101
|
@ -1,12 +1,12 @@
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
if(typeof exports === 'object' && typeof module === 'object')
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
module.exports = factory(require("react"));
|
module.exports = factory(require("React"));
|
||||||
else if(typeof define === 'function' && define.amd)
|
else if(typeof define === 'function' && define.amd)
|
||||||
define(["react"], factory);
|
define(["React"], factory);
|
||||||
else if(typeof exports === 'object')
|
else if(typeof exports === 'object')
|
||||||
exports["EmojiPicker"] = factory(require("react"));
|
exports["EmojiPicker"] = factory(require("React"));
|
||||||
else
|
else
|
||||||
root["EmojiPicker"] = factory(root["react"]);
|
root["EmojiPicker"] = factory(root["React"]);
|
||||||
})(this, function(__WEBPACK_EXTERNAL_MODULE_3__) {
|
})(this, function(__WEBPACK_EXTERNAL_MODULE_3__) {
|
||||||
return /******/ (function(modules) { // webpackBootstrap
|
return /******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,9 +9,9 @@ module.exports = {
|
||||||
libraryTarget: 'umd',
|
libraryTarget: 'umd',
|
||||||
},
|
},
|
||||||
|
|
||||||
externals: [
|
externals: [{
|
||||||
'react',
|
'react': 'React',
|
||||||
],
|
}],
|
||||||
|
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
|
|
Loading…
Reference in New Issue