Update markdownlint-browser.(min.)js to export library and helpers objects (near-zero effect on file size), do not output markdownlint-rule-helpers-browser.(min.)js any more, update demo web page accordingly.

This commit is contained in:
David Anson 2022-12-29 00:43:53 +00:00
parent 5870eb20f0
commit 5684685d5b
5 changed files with 48 additions and 21 deletions

View file

@ -1303,6 +1303,23 @@ module.exports = markdownit;
/* (ignored) */
/***/ }),
/***/ "./markdownlint-exports.js":
/*!*********************************!*\
!*** ./markdownlint-exports.js ***!
\*********************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
// @ts-check
module.exports = {
"library": __webpack_require__(/*! .. */ "../lib/markdownlint.js"),
"helpers": __webpack_require__(/*! ../helpers */ "../helpers/helpers.js")
};
/***/ }),
/***/ "../lib/cache.js":
@ -5096,7 +5113,7 @@ module.exports = rules;
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __webpack_require__("../lib/markdownlint.js");
/******/ var __webpack_exports__ = __webpack_require__("./markdownlint-exports.js");
/******/ markdownlint = __webpack_exports__;
/******/
/******/ })()