Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Oct 26, 2024
1 parent 244ba1e commit 8f71dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function generate({ configPath, absolute = false, useJs = false }) {
let registerAddons = '';

for (const addon of main.addons) {
const registerPath = resolveAddonFile(addon, 'register', ['js', 'mjs', 'ts', 'tsx']);
const registerPath = resolveAddonFile(addon, 'register', ['js', 'mjs', 'jsx', 'ts', 'tsx']);

if (registerPath) {
registerAddons += `import "${registerPath}";\n`;
Expand Down

0 comments on commit 8f71dd7

Please sign in to comment.