Skip to content

Commit

Permalink
Add @expo/metro-config to metro plugin enablers
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 16, 2024
1 parent bd71056 commit 9ad7a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/plugins/metro/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { IsPluginEnabled, ModuleResolver, Plugin } from '#p/types/plugins.j

const title = 'Metro';

const enablers: IgnorePatterns = ['@react-native/metro-config'];
const enablers: IgnorePatterns = ['@react-native/metro-config', '@expo/metro-config'];

const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);

Expand Down

0 comments on commit 9ad7a3c

Please sign in to comment.