I noticed even with `useEsModules()` the compiler ...
# javascript
n
I noticed even with
useEsModules()
the compiler still generates star imports:
Copy code
import * as $module$firebase_database_g0xk0h from 'firebase/database';
for externals defined such as:
Copy code
@file:JsModule("firebase/database")
package dev.gitlive.firebase.database.externals
Is there a way to get it to generate separate imports like it does for kotlin dependencies:
Copy code
import {
  b1 as SerializationException,
  a1 as KSerializer,
  e1 as serializer,
  f1 as serializer_0,
  c1 as SerializationStrategy,
  z as DeserializationStrategy,
} from './kotlinx-serialization-kotlinx-serialization-core-js-ir.mjs';
👀 1
a
Sure. It's possible, but not for @JsModule on declarations. Could you please create an YouTrack issue?
👍 1
I also will be so glad if you share the ticket here (I'll assign it to myself)
a
I've just checked. It's fixed and should be available in 1.9.20 version
gratitude thank you 3
n
Nice!