RepackPlugin configuration options.
• context: string
Context in which all resolution happens. Usually it's project root directory.
packages/repack/src/webpack/plugins/RepackPlugin.ts:14
• Optional devServer: DevServerOptions
Development server configuration options.
Used to configure @callstack/repack-dev-server.
If undefined, then development server will not be used.
packages/repack/src/webpack/plugins/RepackPlugin.ts:28
• Optional entryName: string
The entry chunk name, main by default.
packages/repack/src/webpack/plugins/RepackPlugin.ts:45
• Optional extraChunks: DestinationSpec[]
Options specifying how to deal with extra chunks generated in the compilation,
usually by using dynamic import(...) function.
Refer to OutputPluginConfig.extraChunks for more details.
packages/repack/src/webpack/plugins/RepackPlugin.ts:53
• Optional logger: boolean | { console?: boolean ; file?: string ; listener?: (logEntry: LogEntry) => void  }
Options to configure LoggerPlugin's output.
Setting this to false disables LoggerPlugin.
packages/repack/src/webpack/plugins/RepackPlugin.ts:60
• mode: "development" | "production"
Compilation mode.
packages/repack/src/webpack/plugins/RepackPlugin.ts:17
• output: Object
Output options specifying where to save generated bundle, source map and assets.
Refer to OutputPluginConfig.output for more details.
| Name | Type | Description | 
|---|---|---|
| assetsPath? | string | Assets output path - directory where generated static assets will be saved. | 
| auxiliaryAssetsPath? | string | Auxiliary assets output path - directory where generated auxiliary assets will be saved Useful when working with remote-assets generated by assetsLoader | 
| bundleFilename? | string | Bundle output filename - name under which generated bundle will be saved. | 
| sourceMapFilename? | string | Source map filename - name under which generated source map (for the main bundle) will be saved. | 
packages/repack/src/webpack/plugins/RepackPlugin.ts:42
• platform: string
Target application platform.
packages/repack/src/webpack/plugins/RepackPlugin.ts:20
• Optional sourceMaps: boolean
Whether source maps should be generated. Defaults to true.
Setting this to false, disables any source map generation.