switch tinode-sdk from browserify to webpack

This commit is contained in:
or-else
2023-02-04 14:31:36 -08:00
parent 455f0f5c67
commit f6c355498b
9 changed files with 1680 additions and 1490 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',
},
};
}