switch tinode-sdk from browserify to webpack
This commit is contained in:
+2
-1
@@ -59,6 +59,7 @@ module.exports = (env, argv) => {
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{ 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-dom': 'ReactDOM',
|
||||
'react-intl': 'ReactIntl',
|
||||
'tinode-sdk': 'Tinode',
|
||||
'tinode-sdk': 'tinode',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user