switch tinode-sdk from browserify to webpack
This commit is contained in:
+2
-2
@@ -16336,11 +16336,11 @@ module.exports = ReactIntl;
|
|||||||
|
|
||||||
/***/ "tinode-sdk":
|
/***/ "tinode-sdk":
|
||||||
/*!*************************!*\
|
/*!*************************!*\
|
||||||
!*** external "Tinode" ***!
|
!*** external "tinode" ***!
|
||||||
\*************************/
|
\*************************/
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
module.exports = Tinode;
|
module.exports = tinode;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1670
-1483
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
-1
@@ -59,6 +59,7 @@ module.exports = (env, argv) => {
|
|||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{ from: `node_modules/tinode-sdk/umd/tinode.${mode}.js`, to: `tinode.${mode}.js` },
|
{ from: `node_modules/tinode-sdk/umd/tinode.${mode}.js`, to: `tinode.${mode}.js` },
|
||||||
|
{ from: `node_modules/tinode-sdk/umd/tinode.${mode}.js.map`, to: `tinode.${mode}.js.map` },
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
@@ -66,7 +67,7 @@ module.exports = (env, argv) => {
|
|||||||
'react': 'React',
|
'react': 'React',
|
||||||
'react-dom': 'ReactDOM',
|
'react-dom': 'ReactDOM',
|
||||||
'react-intl': 'ReactIntl',
|
'react-intl': 'ReactIntl',
|
||||||
'tinode-sdk': 'Tinode',
|
'tinode-sdk': 'tinode',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user