@rnx-kit/types-plugin-duplicates-checker
v1.0.0
Published
Type definitions for duplicates checker plugin
Keywords
Readme
@rnx-kit/types-plugin-duplicates-checker
TypeScript type definitions for rnx-kit metro bundling plugins.
Installation
yarn add @rnx-kit/types-plugin-duplicates-checker --devor if you're using npm
npm add --save-dev @rnx-kit/types-plugin-duplicates-checkerUsage
import type { DuplicateDetectorPluginOptions } from "@rnx-kit/types-plugin-duplicates-checker";Types
Bundler Plugin Types for duplicate detector plugin
DuplicateDetectorPluginOptions
Options for @rnx-kit/metro-plugin-duplicates-checker.
| Name | Type | Description |
| -------------- | -------------------------------- | ----------------------------------------------------------- |
| ignoredModules | readonly string[] \| undefined | List of modules to ignore when scanning for duplicates. |
| bannedModules | readonly string[] \| undefined | List of modules that always cause a failure. |
| throwOnError | boolean \| undefined | Whether to throw an exception when a duplicate is detected. |
