diff --git a/cli/src/utils/config.ts b/cli/src/utils/config.ts index e42a5b29..e5b2837e 100644 --- a/cli/src/utils/config.ts +++ b/cli/src/utils/config.ts @@ -41,7 +41,7 @@ interface UserNapiConfig { /** * Whether enable default targets */ - default: boolean + defaults: boolean /** * Additional targets to be compiled for */ @@ -119,7 +119,7 @@ export async function readNapiConfig(path: string): Promise { } if (!targets.length) { - if (userNapiConfig.triples?.default) { + if (userNapiConfig.triples?.defaults) { targets = targets.concat(DEFAULT_TARGETS) }