switch tinode-sdk from browserify to webpack

This commit is contained in:
or-else
2023-02-06 09:54:12 -08:00
parent fc6a8fbafc
commit 7e3b2fc254
11 changed files with 1791 additions and 1581 deletions
+2 -1
View File
@@ -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',
},
};
}