From aac53acd6edb5e568a7798518558b5476b82caf5 Mon Sep 17 00:00:00 2001 From: Jamie Mason Date: Sat, 13 Nov 2021 13:50:10 +0000 Subject: [PATCH] fix(nexe): fix __dirname issues in v3.3.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0de2b10..5960e19 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ }, "scripts": { "build": "npm run build:ts && npm run build:bin", - "build:bin": "nexe --target 'mac-x64-12.18.2' --input dist/imageoptim.js --output dist/imageoptim", + "build:bin": "(cd dist && nexe --target 'mac-x64-12.18.2' --input ./imageoptim.js --output ./imageoptim)", "build:ts": "tsc --project .", "format": "npm run format:imports && npm run format:prettier", "format:imports": "organize-imports-cli ./src/**/*.ts",