Class: 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
.
Implements
Table of contents
Constructors
Methods
Constructors
constructor
• new OutputPlugin(config
)
Constructs new OutputPlugin
.
Parameters
Name | Type | Description |
---|---|---|
config | OutputPluginConfig | Plugin configuration options. |
Defined in
packages/repack/src/webpack/plugins/OutputPlugin.ts:45
Methods
apply
▸ apply(compiler
): void
Apply the plugin.
Parameters
Name | Type | Description |
---|---|---|
compiler | Compiler | Webpack compiler instance. |
Returns
void