fix(v2): make proper path to pages in TS (#2334)

This commit is contained in:
Alexey Pyltsyn 2020-02-27 04:59:02 +03:00 committed by GitHub
parent 590de95234
commit 68a5cd5df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 1 deletions

View file

@ -61,7 +61,7 @@ export function objectWithKeySorted(obj: Object) {
}
const indexRE = /(^|.*\/)index\.(md|js|jsx|ts|tsx)$/i;
const extRE = /\.(md|js)$/;
const extRE = /\.(md|js|tsx)$/;
/**
* Convert filepath to url path.