feat: use go tool
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// @ts-check
|
||||
|
||||
"use strict";
|
||||
|
||||
/* eslint-disable jsdoc/reject-any-type */
|
||||
|
||||
/**
|
||||
* Calls require for markdownit.cjs. Used to synchronously defer loading because module.createRequire is buggy under webpack (https://github.com/webpack/webpack/issues/16724).
|
||||
*
|
||||
* @returns {any} Exported module content.
|
||||
*/
|
||||
function requireMarkdownItCjs() {
|
||||
return require("./markdownit.cjs");
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
requireMarkdownItCjs
|
||||
};
|
||||
Reference in New Issue
Block a user