@md-plugins/vite-ssg-plugin 0.1.0-rc.3 → 0.1.0-rc.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -139,7 +139,7 @@ function joinRoutePaths(parentPath, childPath) {
139
139
  if (childPath.startsWith("/")) {
140
140
  return childPath;
141
141
  }
142
- return `${parentPath.replace(/\/+$/, "")}/${childPath}` || "/";
142
+ return `${parentPath.replace(/\/+$/, "")}/${childPath}`;
143
143
  }
144
144
  function flattenStaticSsgRouterRoutes(routes, { base = "", exclude = [] } = {}) {
145
145
  const routePaths = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/vite-ssg-plugin",
3
- "version": "0.1.0-rc.3",
3
+ "version": "0.1.0-rc.5",
4
4
  "description": "A Vite plugin for @md-plugins static route inventory and future SSG output.",
5
5
  "keywords": [
6
6
  "markdown-it",