(Although they do load when using converse.min.js) I wasn't able to figure out why exactly, but setting `mode` to `production` for the `converse.js` build solved the issue.
@@ -575,7 +575,7 @@ const ChatRoomMixin = {
try {
attrs = await parseMUCMessage(stanza, this, _converse);
} catch (e) {
- return log.error(e.message);
+ return log.error(e);
}
const data = { stanza, attrs, 'chatbox': this };
/**
@@ -4,7 +4,7 @@ const prod = require("./webpack.prod.js");
const { merge } = require("webpack-merge");
module.exports = merge(prod, {
- mode: "development",
+ mode: "production",
output: {
filename: 'converse.js',
},
@@ -65,7 +65,6 @@ module.exports = merge(common, {
'lodash.noconflict': 'lodash.noconflict',
'sizzle': 'sizzle',
'strophe.js': 'strophe',
- 'twemoji': 'twemoji',
'urijs': 'urijs',
'window': 'window',
}]
@@ -54,7 +54,10 @@ module.exports = merge(common, {
loader: 'sass-loader',
options: {
sassOptions: {
- includePaths: [path.resolve(__dirname, '../node_modules/')]
+ includePaths: [
+ path.resolve(__dirname, '../node_modules/'),
+ path.resolve(__dirname, '../src/')
+ ]
sourceMap: true