mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
16 lines
379 B
JavaScript
16 lines
379 B
JavaScript
// @ts-check
|
|
|
|
"use strict";
|
|
|
|
/**
|
|
* 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
|
|
};
|