Skip to content

Commit

Permalink
Account for platform/arch not supported by napi (#31938)
Browse files Browse the repository at this point in the history
  • Loading branch information
padmaia authored Nov 30, 2021
1 parent c03fa72 commit 0ef8739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/swc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Log from '../output/log'

const ArchName = arch()
const PlatformName = platform()
const triples = platformArchTriples[PlatformName][ArchName]
const triples = platformArchTriples[PlatformName][ArchName] || []

async function loadBindings() {
return (await loadWasm()) || loadNative()
Expand Down

0 comments on commit 0ef8739

Please sign in to comment.