Scenario: Develop a Node.js addon module in C# with .NET Native AOT
When I build .NET 10 with v0.9.23 on x64:
On a Windows build the .node file is generated and the application can be loaded in JS, but there are no type definitions (the node file can be loaded, but it is 3-4 times smaller compared to the Windows .node file, and there are no .mjs, .d.ts and .cjs files in the published binaries.
How can I better understand why that is the case?
Scenario: Develop a Node.js addon module in C# with .NET Native AOT
When I build .NET 10 with v0.9.23 on x64:
On a Windows build the .node file is generated and the application can be loaded in JS, but there are no type definitions (the node file can be loaded, but it is 3-4 times smaller compared to the Windows .node file, and there are no .mjs, .d.ts and .cjs files in the published binaries.
How can I better understand why that is the case?