Skip to content

Compiling on Linux vs Windows #489

Description

@ladeak

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions