( options?: Partial<Config>, routerPluginContext?: RouterPluginContext, )
| 41 | * ``` |
| 42 | */ |
| 43 | const TanStackRouterCodeSplitterWebpack = ( |
| 44 | options?: Partial<Config>, |
| 45 | routerPluginContext?: RouterPluginContext, |
| 46 | ) => { |
| 47 | const pluginContext = routerPluginContext ?? defaultRouterPluginContext |
| 48 | return createWebpackPlugin((pluginOptions: Partial<Config> | undefined) => |
| 49 | createRouterCodeSplitterPlugin(pluginOptions, pluginContext, 'webpack'), |
| 50 | )(options) |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * @example |
nothing calls this directly
no test coverage detected