UNPKG

@tanstack/router-plugin

Version:

Modern and scalable routing for React applications

14 lines (13 loc) 467 B
import { createReactRefreshRouteComponentsPlugin } from "./react-refresh-route-components.js"; //#region src/core/code-splitter/plugins/framework-plugins.ts function getReferenceRouteCompilerPlugins(opts) { switch (opts.targetFramework) { case "react": if (opts.addHmr) return [createReactRefreshRouteComponentsPlugin()]; return; default: return; } } //#endregion export { getReferenceRouteCompilerPlugins }; //# sourceMappingURL=framework-plugins.js.map