Skip to content

Commit

Permalink
rm log
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Apr 27, 2024
1 parent 852b4ca commit de5e5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/src/build/swc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1338,15 +1338,15 @@ function loadNative(importPath?: string) {
try {
// Use the binary directly to skip `pnpm pack` for testing as it's slow because of the large native binary.
bindings = require(`${NEXT_TEST_NATIVE_DIR}/next-swc.${triple.platformArchABI}.node`)
console.log(
infoLog(
'next-swc build: local built @next/swc from NEXT_TEST_NATIVE_DIR'
)
break
} catch (e) {}
} else {
try {
bindings = require(`@next/swc/native/next-swc.${triple.platformArchABI}.node`)
console.log('next-swc build: local built @next/swc')
infoLog('next-swc build: local built @next/swc')
break
} catch (e) {}
}
Expand Down

0 comments on commit de5e5f9

Please sign in to comment.