Skip to content

Commit

Permalink
fix: add node module as ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 9, 2024
1 parent e16b0b3 commit 42366ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hot_hook/src/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ const hotHookConfig = packageJson['hot-hook']
await hot.init({
root: hotHookConfig?.root ? resolve(packageJsonPath, packageJson['hot-hook'].root) : undefined,
boundaries: packageJson['hot-hook']?.boundaries,
ignore: packageJson['hot-hook']?.ignore,
ignore: ['**/node_modules/**'].concat(packageJson['hot-hook']?.ignore || []),
})

0 comments on commit 42366ba

Please sign in to comment.