-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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.
ceztko
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request