Switch to using npm version of markdownlint-micromark package and browser script.

This commit is contained in:
David Anson 2023-02-08 20:50:28 -08:00
parent 8e66b8f926
commit c15262a0f5
10 changed files with 32 additions and 4159 deletions

View file

@ -34,6 +34,7 @@
</div>
</div>
<script src="markdown-it.min.js"></script>
<script src="micromark-browser.js"></script>
<script src="markdownlint-browser.min.js"></script>
<script src="default.js"></script>
</body>

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,8 @@ function config(options) {
"devtool": false,
"entry": entry,
"externals": {
"markdown-it": "markdownit"
"markdown-it": "markdownit",
"markdownlint-micromark": "micromarkBrowser"
},
"mode": mode,
"module": {
@ -34,7 +35,10 @@ function config(options) {
"optimization": optimization,
"output": {
"filename": filename,
"library": name.replace(/(-\w)/g, (m) => m.slice(1).toUpperCase()),
"library": {
"name": name.replace(/(-\w)/g, (m) => m.slice(1).toUpperCase()),
"type": "var"
},
"path": __dirname
},
"plugins": [