diff --git a/packages/core/package.json b/packages/core/package.json index e781fb89d1f3..3e7ac1d72c63 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -27,17 +27,19 @@ }, "napi": { "binaryName": "swc", - "triples": { - "additional": [ - "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu", - "aarch64-unknown-linux-musl", - "aarch64-pc-windows-msvc", - "armv7-unknown-linux-gnueabihf", - "x86_64-unknown-linux-musl", - "i686-pc-windows-msvc" - ] - } + "targets": [ + "x86_64-apple-darwin", + "x86_64-pc-windows-msvc", + "x86_64-unknown-linux-gnu", + "x86_64-unknown-linux-musl", + "i686-pc-windows-msvc", + "armv7-unknown-linux-gnueabihf", + "aarch64-unknown-linux-gnu", + "aarch64-apple-darwin", + "aarch64-unknown-linux-gnu", + "aarch64-unknown-linux-musl", + "aarch64-pc-windows-msvc" + ] }, "publishConfig": { "registry": "https://registry.npmjs.org/", diff --git a/packages/html/package.json b/packages/html/package.json index 3a3e6024c2d1..527cf1ea5e0d 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -22,17 +22,19 @@ }, "napi": { "binaryName": "swc-html", - "triples": { - "additional": [ - "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu", - "aarch64-unknown-linux-musl", - "aarch64-pc-windows-msvc", - "armv7-unknown-linux-gnueabihf", - "x86_64-unknown-linux-musl", - "i686-pc-windows-msvc" - ] - } + "targets": [ + "x86_64-apple-darwin", + "x86_64-pc-windows-msvc", + "x86_64-unknown-linux-gnu", + "x86_64-unknown-linux-musl", + "i686-pc-windows-msvc", + "armv7-unknown-linux-gnueabihf", + "aarch64-unknown-linux-gnu", + "aarch64-apple-darwin", + "aarch64-unknown-linux-gnu", + "aarch64-unknown-linux-musl", + "aarch64-pc-windows-msvc" + ] }, "publishConfig": { "registry": "https://registry.npmjs.org/",