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
Currently an AOT module produced by node-api-dotnet must be loaded via CommonJS require(). And there is an example project that shows how to wrap an AOT module in an npm package, where that package also must be loaded via require().
Can we make the AOT module package loadable via ES import instead? Or a package that supports both? (This might require a small bootstrapper script.)
See also the comment from @ceztko that brought up this issue.