Does this ring a bell to anyone? ```> Task :bs...
# webassembly
c
Does this ring a bell to anyone?
Copy code
> Task :bson:wasmJsBrowserTest

Module parse failed: Identifier 'startUnitTests' has already been declared (14:0)
File was processed with these loaders:
 * ../../node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| memory,
| _initialize,
> startUnitTests
| } = exports
|
  |
  at /tmp/_karma_webpack_356524/commons.js:68:1
  |
      at ./kotlin/KtMongo-bson-wasm-js-test.mjs (/tmp/_karma_webpack_356524/commons.js:68:7)
      at __webpack_require__ (/tmp/_karma_webpack_356524/runtime.js:23:41)
      at ./static/load.mjs (/tmp/_karma_webpack_356524/commons.js:80:95)
      at __webpack_require__ (/tmp/_karma_webpack_356524/runtime.js:23:41)
      at __webpack_exec__ (load.3086545963.js:4:48)
      at load.3086545963.js:5:55
      at __webpack_require__.O (/tmp/_karma_webpack_356524/runtime.js:57:23)
      at load.3086545963.js:6:56
      at webpackJsonpCallback (/tmp/_karma_webpack_356524/runtime.js:116:39)
      at load.3086545963.js:2:103
java.lang.IllegalStateException: command '/home/ivan/.gradle/nodejs/node-v22.0.0-linux-x64/bin/node' exited with errors (exit code: 1)
The generated file looks like:
Copy code
import * as _ref_QGpzLWpvZGEvY29yZQ_ from '@js-joda/core';
import { instantiate } from './KtMongo-bson-wasm-js-test.uninstantiated.mjs';
import "./custom-formatters.js"

const exports = (await instantiate({
    '@js-joda/core': _ref_QGpzLWpvZGEvY29yZQ_
})).exports;

export const {
startUnitTests,
memory,
_initialize,
startUnitTests
} = exports
which indeed declares
startUnitTests
twice