You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository Containing a Minimal Reproducible Example
No response
Anything else?
I read the documentation and checked the PR #398 for further guidance but I didn't find anything that was helpful to me.
Thank you in advance for your support!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Nature of Your Project
JavaScript
Current Behavior
After initializing my project with the
esm
, the JS files of cds typer still use CJS syntax, though the package.json containstype: module
:This is my package.json:
Once I add the following section to
package.json
, ES modules are used successfully:Expected Behavior
When using the default setting
auto
for thetargetModuleType
, I expect es modules to be generated by cds-typer.Steps To Reproduce
@cds-models
Environment
Repository Containing a Minimal Reproducible Example
No response
Anything else?
I read the documentation and checked the PR #398 for further guidance but I didn't find anything that was helpful to me.
Thank you in advance for your support!
The text was updated successfully, but these errors were encountered: