// ESBuild has a bug that it emits a code to call `globImport_public_<ext>` without
// the helper function not defined. Using glob-import from plain JS file works as
// a workaround.
// https://github.com/evanw/esbuild/issues/3319
export function loadDocFile(slug) {
return import(`../docs/${slug}.md`);
}