▸ getInitializationEntries(reactNativePath
, options?
): string
[]
Get setup and initialization entires for Webpack configuration's entry
field.
The returned entires should be added before your project entry.
Name | Type | Description |
---|---|---|
reactNativePath |
string |
Absolute path to directory with React Native dependency. |
options |
InitializationEntriesOptions |
Additional options that can modify returned entires. |
string
[]
Array of entires.
packages/repack/src/webpack/utils/getInitializationEntries.ts:28