#1997 Converse.js 14 will break mod_conversejs

Reporter mopp
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-Accepted
  • Component-Community
  • Priority-Medium
  • Type-Defect
  1. mopp on

    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.

  2. Zash on

    Thanks for the heads up. Given that the module supports specifying version to use, I wonder how this affects that.

    Changes
    • tags Status-Accepted Component-Community

New comment

Not published. Used for spam prevention and optional update notifications.