MCPcopy Create free account
hub / github.com/TanStack/router / tanStackRouterCodeSplitter

Function tanStackRouterCodeSplitter

packages/router-plugin/src/vite.ts:43–51  ·  view source on GitHub ↗
(
  options?: RouterPluginOptions,
  routerPluginContext?: RouterPluginContext,
)

Source from the content-addressed store, hash-verified

41 * ```
42 */
43const tanStackRouterCodeSplitter = (
44 options?: RouterPluginOptions,
45 routerPluginContext?: RouterPluginContext,
46) => {
47 const pluginContext = routerPluginContext ?? defaultRouterPluginContext
48 return createVitePlugin((pluginOptions: RouterPluginOptions) =>
49 createRouterCodeSplitterPlugin(pluginOptions, pluginContext),
50 )(options)
51}
52
53/**
54 * @example

Callers 1

tanStackStartRouterFunction · 0.90

Calls 1

Tested by

no test coverage detected