1
0
Fork 0

fix(build): correct output filename for JS ep

This commit is contained in:
Sean Sube 2023-01-05 13:47:43 -06:00
parent 4088bf4025
commit 9a10f52779
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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": {