README.md
October 21, 2025 ยท View on GitHub
Single executable packaging example for edge-js using @yao-pkg/pkg
Single executable option
- Supports using calls to dll methods.
- Does not support inline C# or .csx files.
Single executable with node_modules
- Supports using calls to dll methods.
- Support inline C# and .csx files.
- Inline C# code must use ES6 templated strings instead of comments.
- Requires
node_modules/edge-jsandnode_modules/edge-csto be in the same folder with executable.
Node.js version support
@yao-pkg/pkg only supports Node.js LTS versions, if you are using Node.js version that is not marked as LTS the build will fail.
How to run
npm idotnet build src/EdgeJsPkg.sln
Single executable
npm run pkgedge.exe
Single executable with node_modules
npm run pkg-webpackedge-webpack.exe