Browse Source

fix(dashboard): Fix tanstack router config for utils dir

Michael Bromley 6 months ago
parent
commit
40f1ca38e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/dashboard/vite/vite-plugin-vendure-dashboard.ts

+ 1 - 1
packages/dashboard/vite/vite-plugin-vendure-dashboard.ts

@@ -111,7 +111,7 @@ export function vendureDashboardPlugin(options: VitePluginVendureDashboardOption
             : [
                   TanStackRouterVite({
                       autoCodeSplitting: true,
-                      routeFileIgnorePattern: '.graphql.ts|components|hooks',
+                      routeFileIgnorePattern: '.graphql.ts|components|hooks|utils',
                       routesDirectory: path.join(packageRoot, 'src/app/routes'),
                       generatedRouteTree: path.join(packageRoot, 'src/app/routeTree.gen.ts'),
                   }),