@gyoll/builder 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ async function walkDirectory(dir, baseDir, segments = [], parentLayouts = [], ac
52
52
  route.layouts = [...currentLayouts];
53
53
  }
54
54
  if (currentGuard) {
55
- route.guard = import_path.default.relative(baseDir, currentGuard);
55
+ route.guard = currentGuard;
56
56
  }
57
57
  if (routeFiles.error) {
58
58
  route.error = import_path.default.relative(baseDir, routeFiles.error);
@@ -30,7 +30,7 @@ async function walkDirectory(dir, baseDir, segments = [], parentLayouts = [], ac
30
30
  route.layouts = [...currentLayouts];
31
31
  }
32
32
  if (currentGuard) {
33
- route.guard = path.relative(baseDir, currentGuard);
33
+ route.guard = currentGuard;
34
34
  }
35
35
  if (routeFiles.error) {
36
36
  route.error = path.relative(baseDir, routeFiles.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gyoll/builder",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "type": "module",
5
5
  "description": "CLI tool for generating route manifests from file-system structure",
6
6
  "bin": {