I'm getting this weird import in the generated `ko...
# javascript
c
I'm getting this weird import in the generated
kotlin-kotlin-stdlib.js
Copy code
const DYNAMIC_MODULES_ID = '\0commonjs-dynamic-modules';
const HELPERS_ID = '\0commonjsHelpers.js';
Note the
\0
. Has anyone seen this before?
e
Never seen it. Which version of Kotlin?
c
2.1.20
e
What's the Kotlin code that requires those modules?
c
No idea, but it's in the stdlib?
e
Are you post processing with Vite?
c
I am, yes
e
Looks like it's not Kotlin, but the post processing you're applying to it
🙏 1
c
Thanks for the link, I'll investigate there
blob no problem 1
e
I've found another reference of
commonjs-dynamic-modules
at https://github.com/vitejs/vite/issues/5189#issuecomment-2175410148