▸ getResolveOptions(platform
): Object
Get Webpack's resolve options to properly resolve JavaScript files
that contain <platform>
or native
(eg file.ios.js
) suffixes as well as react-native
field
in dependencies' package.json
.
Name | Type | Description |
---|---|---|
platform |
string |
Target application platform. |
Object
Webpack's resolve options.
Name | Type |
---|---|
aliasFields |
string [] |
extensions |
string [] |
mainFields |
string [] |