Skip to content

Commit

Permalink
Merge branch 'next' of github.com:innocces/taro-hooks into next
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jan 14, 2024
2 parents 4b9cc15 + b7c8333 commit 791593d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const supportFrameworks = ['react', ...reactLike];

export default (ctx: IPluginContext) => {
const { framework } = ctx.initialConfig;
if ((framework && !supportFrameworks.includes(framework)) || !getReactPath())
if ((framework && !supportFrameworks.includes(framework)) || !getReactPath(framework))
return;

ctx.modifyWebpackChain(({ chain, webpack }) => {
Expand Down

1 comment on commit 791593d

@vercel
Copy link

@vercel vercel bot commented on 791593d Jan 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.