@hostlink/nuxt-light 1.73.0 → 1.73.1

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.73.0",
4
+ "version": "1.73.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -42,7 +42,7 @@ function scanRoutes(pagesDir, dir) {
42
42
  if (siblingDir) {
43
43
  handledDirs.add(baseName);
44
44
  const filePath = join(dir, file.name);
45
- const relPath = relative(pagesDir, filePath);
45
+ const relPath = relative(pagesDir, filePath).replace(/\\/g, "/");
46
46
  const dirParts = dirname(relPath).split("/").filter((p) => p && p !== ".");
47
47
  const parentPath = buildPath(dirParts, baseName);
48
48
  const children = scanRoutes(pagesDir, join(dir, baseName));
@@ -64,7 +64,7 @@ function scanRoutes(pagesDir, dir) {
64
64
  const siblingDir = dirs.find((d) => d.name === baseName);
65
65
  if (!siblingDir) {
66
66
  const filePath = join(dir, file.name);
67
- const relPath = relative(pagesDir, filePath);
67
+ const relPath = relative(pagesDir, filePath).replace(/\\/g, "/");
68
68
  const dirParts = dirname(relPath).split("/").filter((p) => p && p !== ".");
69
69
  result.push({
70
70
  name: buildName(dirParts, baseName),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.73.0",
3
+ "version": "1.73.1",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",