diff options
Diffstat (limited to 'source/features/vertical-front-matter.tsx')
-rw-r--r-- | source/features/vertical-front-matter.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/vertical-front-matter.tsx b/source/features/vertical-front-matter.tsx index 3277570e..f26ab3a0 100644 --- a/source/features/vertical-front-matter.tsx +++ b/source/features/vertical-front-matter.tsx @@ -4,7 +4,7 @@ import select from 'select-dom'; import * as pageDetect from 'github-url-detection'; import elementReady from 'element-ready'; -import features from '../feature-manager'; +import features from '../feature-manager.js'; // https://github.com/github/markup/blob/cd01f9ec87c86ce5a7c70188a74ef40fc4669c5b/lib/github/markup/markdown.rb#L34 const hasFrontMatter = (): boolean => pageDetect.isSingleFile() && /\.(mdx?|mkdn?|mdwn|mdown|markdown|litcoffee)$/.test(location.pathname); |