Fixed compilation errors for node modules

This commit is contained in:
rosefix7 2023-09-16 17:13:03 -04:00
parent adca5feff6
commit 1eef1e7e20
5 changed files with 896 additions and 1 deletions

View file

@ -128,6 +128,7 @@ export function compile_to_target() {
const builder = esbuild.buildSync({
bundle: true,
entryPoints: [ package_json.main ],
outfile: target_path
outfile: target_path,
platform: "node"
});
}