plugins.OutputPlugin
Plugin for copying generated files (bundle, chunks, assets) from Webpack's built location to the
React Native application directory, so that the files can be packed together into the ipa
/apk
.
• new OutputPlugin(config
)
Constructs new OutputPlugin
.
Name | Type | Description |
---|---|---|
config |
OutputPluginConfig |
Plugin configuration options. |
packages/repack/src/webpack/plugins/OutputPlugin.ts:151
▸ apply(compiler
): void
Apply the plugin.
Name | Type | Description |
---|---|---|
compiler |
Compiler |
Webpack compiler instance. |
void