We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fb941d commit 0505f58Copy full SHA for 0505f58
src/core/FSRouter.ts
@@ -1,6 +1,7 @@
1
import nodePath from 'node:path';
2
import { indentLine, jsxLikeStringify } from '../helpers';
3
import type { FSNode, FSTree } from './FSTree';
4
+import { pkgName, pkgVersion } from '../const';
5
6
class PageRoute {
7
parent?: LayoutRoute;
@@ -179,7 +180,7 @@ export class FSRouter {
179
180
181
return [
182
'/**',
- ' * generated by pkg-name-for-test@pkg-version-for-test',
183
+ ` * generated by ${pkgName}@${pkgVersion}`,
184
' * @ref https://github.com/FrontEndDev-org/unplugin-react-pages',
185
' * @ref https://react.dev',
186
' * @ref https://reactrouter.com',
0 commit comments