fix(build): correct output filename for JS ep
This commit is contained in:
parent
4088bf4025
commit
9a10f52779
|
@ -24,8 +24,8 @@ build: deps
|
|||
yarn tsc
|
||||
|
||||
build-shebang: build
|
||||
sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/out/src/index.js
|
||||
chmod ug+x out/src/index.js
|
||||
sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/out/src/main.js
|
||||
chmod ug+x out/src/main.js
|
||||
|
||||
bundle: build
|
||||
node esbuild.js
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "0.1.0",
|
||||
"description": "onnx web gui",
|
||||
"type": "module",
|
||||
"main": "out/bundle/index.js",
|
||||
"main": "out/src/main.js",
|
||||
"author": "ssube",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue