mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Switch to using npm version of markdownlint-micromark package and browser script.
This commit is contained in:
parent
8e66b8f926
commit
c15262a0f5
10 changed files with 32 additions and 4159 deletions
|
|
@ -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
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue