diff options
Diffstat (limited to 'src/webpack/webpack.ts')
-rw-r--r-- | src/webpack/webpack.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index 4f78f73..1a3e15d 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -290,6 +290,10 @@ export function findAllByProps(...props: string[]) { return findAll(filters.byProps(...props)); } +export function findByCode(...code: string[]) { + return find(filters.byCode(...code)); +} + export function findByDisplayName(deezNuts: string) { return find(filters.byDisplayName(deezNuts)); } |