mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-28 21:19:52 +01:00
fix: ignore tsx files in routes
This commit is contained in:
1 parent
ea490628fb
commit
ef52434a42
15 files changed
+8
-8
No files matched your search
@@ -11,6 +11,6 @@
|
|||||||
"src/**/*",
|
"src/**/*",
|
||||||
".next/types/**/*.ts",
|
".next/types/**/*.ts",
|
||||||
"../website/src/components/Performance/PerformanceInfo.tsx",
|
"../website/src/components/Performance/PerformanceInfo.tsx",
|
||||||
"../website/src/pages/tools/session/index.tsx"
|
"../website/src/pages/tools/session/_index.tsx"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
File renamed without changes.
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import type { GetStaticPaths } from 'astro';
|
import type { GetStaticPaths } from 'astro';
|
||||||
import { readFile } from 'fs/promises';
|
import { readFile } from 'fs/promises';
|
||||||
import { Page } from '.';
|
import { Page } from './_index';
|
||||||
import RootLayout from '../../../../layouts/RootLayout.astro';
|
import RootLayout from '../../../../layouts/RootLayout.astro';
|
||||||
|
|
||||||
export const getStaticPaths = (async () => {
|
export const getStaticPaths = (async () => {
|
||||||
|
|||||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import { Page } from '.';
|
import { Page } from './_index';
|
||||||
import RootLayout from '../../layouts/RootLayout.astro';
|
import RootLayout from '../../layouts/RootLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||||
import { Page } from './index';
|
import { Page } from './_index';
|
||||||
---
|
---
|
||||||
|
|
||||||
<ToolLayout>
|
<ToolLayout>
|
||||||
|
|||||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import { Page } from '.';
|
import { Page } from './_index';
|
||||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { Page } from '.';
|
|
||||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||||
|
import { Page } from './_index';
|
||||||
---
|
---
|
||||||
|
|
||||||
<ToolLayout>
|
<ToolLayout>
|
||||||
|
|||||||
File renamed without changes.
@@ -2,7 +2,7 @@
|
|||||||
import { fetchTankDefinitions } from '@blitzkit/core';
|
import { fetchTankDefinitions } from '@blitzkit/core';
|
||||||
import type { GetStaticPaths } from 'astro';
|
import type { GetStaticPaths } from 'astro';
|
||||||
import ToolLayout from '../../../../layouts/ToolLayout.astro';
|
import ToolLayout from '../../../../layouts/ToolLayout.astro';
|
||||||
import { Page } from './index';
|
import { Page } from './_index';
|
||||||
|
|
||||||
export const getStaticPaths = (async () => {
|
export const getStaticPaths = (async () => {
|
||||||
const tankDefinitions = await fetchTankDefinitions();
|
const tankDefinitions = await fetchTankDefinitions();
|
||||||
|
|||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||||
import { Page } from './index';
|
import { Page } from './_index';
|
||||||
---
|
---
|
||||||
|
|
||||||
<ToolLayout>
|
<ToolLayout>
|
||||||
|
|||||||
Reference in new issue
Block a user