ESM Import Stimulsoft Reports.JS

Stimulsoft Reports.JS discussion
Post Reply
itk
Posts: 3
Joined: Mon Nov 04, 2024 10:38 am

ESM Import Stimulsoft Reports.JS

Post by itk »

We need to import the Stimulus Report Engine JS into a pure ESM (ECMAScript Module) project.
Could you provide some examples of how to import the engine?

Thank You
A.
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: ESM Import Stimulsoft Reports.JS

Post by Lech Kulikowski »

Hello,

Please check the following samples:
https://github.com/stimulsoft/Samples-R ... or-Node.js

Thank you.
itk
Posts: 3
Joined: Mon Nov 04, 2024 10:38 am

Re: ESM Import Stimulsoft Reports.JS

Post by itk »

Hello,
we know those samples but all examples are using the require() statement.
In ESM based Projects a require is not possible anymore.
How to use the esm import statement instead.

Thank you.
celemtine
Posts: 1
Joined: Wed May 15, 2024 7:27 am

Re: ESM Import Stimulsoft Reports.JS

Post by celemtine »

itk wrote: Mon Nov 04, 2024 1:36 pm Hello,
we know those samples but all examples are using the require() statement.
In ESM based Projects a require is not possible anymore.
How to use the esm import statement instead.

Thank you.
Hisex dolls cheap
has this problem been solved? I am experiencing the same problem. :( :(

I tried using “import” instead of “require()”, using syntax like “import moduleName from 'module '“ or ‘import { functionName } from ’module'” syntax to specify the export. But none of them work, is there any other way? Thanks in advance! :D
where there's a will, there's a wayhalf body sexdoll
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: ESM Import Stimulsoft Reports.JS

Post by Lech Kulikowski »

Hello,

Unfortunately, not yet, but we are working on this functionality.

Thank you.
itk
Posts: 3
Joined: Mon Nov 04, 2024 10:38 am

Re: ESM Import Stimulsoft Reports.JS

Post by itk »

Hi

Could you please let us know when we can expect a solution? Resolving this issue is essential for us to continue using your library. It was originally reported in 2020.

For reference, please also see this post: viewtopic.php?t=58886

Thank you!
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: ESM Import Stimulsoft Reports.JS

Post by Lech Kulikowski »

Hello,

Please send us your request with a detailed description on support@stimulsoft.com.

Thank you.
Post Reply