What version are you using?
23.4.0
What did you do?
Tried to generate typescript client for my contracts following the hello world tutorial in the docs.
The issue
Upon using those generated packages in my vite project, it shows a warning that goes:
Unable to interop export * from '@stellar/stellar-sdk' in /home/nitishc/progmag/namaskaram/packages/guess_the_number/dist/index.js, this may lose module exports. Please export "@stellar/stellar-sdk" as ESM or use named exports instead, e.g. export { A, B } from "@stellar/stellar-sdk"
What version are you using?
23.4.0
What did you do?
Tried to generate typescript client for my contracts following the hello world tutorial in the docs.
The issue
Upon using those generated packages in my vite project, it shows a warning that goes:
Unable to interop
export * from '@stellar/stellar-sdk'in /home/nitishc/progmag/namaskaram/packages/guess_the_number/dist/index.js, this may lose module exports. Please export "@stellar/stellar-sdk" as ESM or use named exports instead, e.g.export { A, B } from "@stellar/stellar-sdk"