Skip to content

Commit

Permalink
fix: force resolve punycode for RN
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg authored and natew committed Jan 1, 2025
1 parent a83554c commit 6ed3652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vxrn/src/utils/getReactNativeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ export async function getReactNativeConfig(
case 'buffer': {
return findModulePath(join('buffer', 'index.js'), root)
}
case 'punycode': {
return findModulePath(join('punycode', 'punycode.es6.js'), root)
}
}
},
} satisfies Plugin,
Expand Down

0 comments on commit 6ed3652

Please sign in to comment.