- Switch module type to commonjs in package.json - Update esbuild target to node22 and remove explicit ESM format flag - Add `bin` script for building a native binary using `node --build-sea` - Introduce sea-config.json with code cache enabled for faster startup
6 lines
119 B
JSON
6 lines
119 B
JSON
{
|
|
"main": "dist/index.js",
|
|
"output": "dist/lmc",
|
|
"useCodeCache": true,
|
|
"disableExperimentalSEAWarning": true
|
|
}
|