Converse.js is currently being prepared for the v14 release. In changes.md it says:
"The CJS build has been removed. Only ESM builds are produced. If you include Converse via a <script> tag, you must add type="module": <script type="module" src="converse.js"></script>. Any inline scripts calling converse.initialize() must also use type="module". "
(https://github.com/conversejs/converse.js/blob/master/CHANGES.md#backwards-incompatible-changes)
I think this will break mod_conversejs unless its template.html is updated, so I thought I'd report this in advance.
Zash
on
Thanks for the heads up.
Given that the module supports specifying version to use, I wonder how this affects that.
Converse.js is currently being prepared for the v14 release. In changes.md it says: "The CJS build has been removed. Only ESM builds are produced. If you include Converse via a <script> tag, you must add type="module": <script type="module" src="converse.js"></script>. Any inline scripts calling converse.initialize() must also use type="module". " (https://github.com/conversejs/converse.js/blob/master/CHANGES.md#backwards-incompatible-changes) I think this will break mod_conversejs unless its template.html is updated, so I thought I'd report this in advance.
Thanks for the heads up. Given that the module supports specifying version to use, I wonder how this affects that.
Changes