@vuepress/shared 2.0.0-beta.43 → 2.0.0-beta.44

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/index.cjs CHANGED
@@ -131,7 +131,7 @@ var isLinkExternal = (link, base = "/") => {
131
131
  if (isLinkHttp(link) || isLinkFtp(link)) {
132
132
  return true;
133
133
  }
134
- if (link.startsWith("/") && !link.startsWith(base)) {
134
+ if (link.startsWith("/") && !link.startsWith(base) && !link.endsWith(".md")) {
135
135
  return true;
136
136
  }
137
137
  return false;
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ var isLinkExternal = (link, base = "/") => {
87
87
  if (isLinkHttp(link) || isLinkFtp(link)) {
88
88
  return true;
89
89
  }
90
- if (link.startsWith("/") && !link.startsWith(base)) {
90
+ if (link.startsWith("/") && !link.startsWith(base) && !link.endsWith(".md")) {
91
91
  return true;
92
92
  }
93
93
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/shared",
3
- "version": "2.0.0-beta.43",
3
+ "version": "2.0.0-beta.44",
4
4
  "description": "Utils that shared between VuePress node and client",
5
5
  "keywords": [
6
6
  "vuepress",