AssetsResolverPlugin configuration options.
AssetResolverConfig
↳ AssetsResolverPluginConfig
• Optional
extensions: string
[]
Override default asset extensions. If the asset matches one of the extensions, it will be process by the custom React Native asset resolver. Otherwise, the resolution will process normally and the asset will be handled by Webpack.
AssetResolverConfig.extensions
packages/repack/src/webpack/plugins/AssetsResolverPlugin/AssetResolver.ts:16
• platform: string
Target application platform.
AssetResolverConfig.platform
packages/repack/src/webpack/plugins/AssetsResolverPlugin/AssetResolver.ts:25
• Optional
scalableExtensions: string
[]
Override default scalable extensions, which processes only scalable assets like images to create a map of DPI variants of the asset.
AssetResolverConfig.scalableExtensions
packages/repack/src/webpack/plugins/AssetsResolverPlugin/AssetResolver.ts:22