You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/router/src/unplugin/core/tree.ts
+32-4Lines changed: 32 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,38 @@ export class TreeNode {
55
55
*/
56
56
options: TreeNodeOptions
57
57
58
-
// FIXME: refactor this code. It currently helps to keep track if a page has at least one component with `definePage()` but it doesn't tell which. It should keep track of which one while still caching the result per file.
59
58
/**
60
-
* Should this page import the page info
59
+
* Set of file paths that use `definePage()` with runtime properties (meta, props, etc.) that require a `?definePage`
60
+
* import at build time. Tracked per-file to avoid race conditions when multiple files (e.g. named views) map to the
0 commit comments