Hi there,
Without changes to our build we suddently get build errors from NPM on the library htmx:
[3] ./node_modules/htmx.org/dist/htmx.min.js 424 bytes {2} [built] [failed] [1 error]
ERROR in ./node_modules/htmx.org/dist/htmx.min.js 1596:21
Module parse failed: Unexpected token (1596:21)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| function Ct(t, e, r) {
| var n = Y(t);
> n.onHandlers ||= {};
| var i = new Function("event", r + "; return;");
| var a = t.addEventListener(e, function (e) {
@ ./Swift/Files/Templates/Designs/Swift/Assets/_src/js/modules/htmx.js 1:0-33 2:14-18
Has anyone seen this before? Is it maybe bringing in a new, incompatible version of htmx? Do I need this library at all?
Thanks!
Imar