@docusaurus/utils
Advanced tools
Comparing version 2.0.0-alpha.60 to 2.0.0-alpha.61
@@ -58,4 +58,4 @@ "use strict"; | ||
exports.objectWithKeySorted = objectWithKeySorted; | ||
const indexRE = /(^|.*\/)index\.(md|js|jsx|ts|tsx)$/i; | ||
const extRE = /\.(md|js|ts|tsx)$/; | ||
const indexRE = /(^|.*\/)index\.(md|mdx|js|jsx|ts|tsx)$/i; | ||
const extRE = /\.(md|mdx|js|jsx|ts|tsx)$/; | ||
/** | ||
@@ -62,0 +62,0 @@ * Convert filepath to url path. |
{ | ||
"name": "@docusaurus/utils", | ||
"version": "2.0.0-alpha.60", | ||
"version": "2.0.0-alpha.61", | ||
"description": "Node utility functions for Docusaurus packages", | ||
@@ -26,3 +26,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "6124c60995244f348b4bea4d6ec5e01f7d5d9a73" | ||
"gitHead": "0b5432e9dfed6fc46fd181a9be5f0b33251e17f4" | ||
} |
@@ -65,4 +65,4 @@ /** | ||
const indexRE = /(^|.*\/)index\.(md|js|jsx|ts|tsx)$/i; | ||
const extRE = /\.(md|js|ts|tsx)$/; | ||
const indexRE = /(^|.*\/)index\.(md|mdx|js|jsx|ts|tsx)$/i; | ||
const extRE = /\.(md|mdx|js|jsx|ts|tsx)$/; | ||
@@ -69,0 +69,0 @@ /** |
Sorry, the diff of this file is not supported yet
488461