From 9011e926d9849217b8185eabfa601c55281e6f2d Mon Sep 17 00:00:00 2001 From: Yoshi Jaeger Date: Sun, 23 Jun 2024 07:29:57 +0200 Subject: [PATCH] chore(build): also build arm executable for Apple's M1, M2, .. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d42e000..ce18a72 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "repository": "JamieMason/ImageOptim-CLI", "scripts": { "build": "npm run build:ts && npm run build:bin", - "build:bin": "(cd dist && pkg --targets 'node18-macos-x64' --output ./imageoptim ./imageoptim.js)", + "build:bin": "(cd dist && pkg --targets 'node18-macos-x64,node18-macos-arm64' --output ./imageoptim ./imageoptim.js)", "build:ts": "tsc --project .", "format": "npm run format:imports && npm run format:prettier && npm run format:eslint", "format:eslint": "npm run lint -- --fix",