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
|
yarn tsc
|
||||||
|
|
||||||
build-shebang: build
|
build-shebang: build
|
||||||
sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/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/index.js
|
chmod ug+x out/src/main.js
|
||||||
|
|
||||||
bundle: build
|
bundle: build
|
||||||
node esbuild.js
|
node esbuild.js
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "onnx web gui",
|
"description": "onnx web gui",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "out/bundle/index.js",
|
"main": "out/src/main.js",
|
||||||
"author": "ssube",
|
"author": "ssube",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue