mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Introduce micromark-html-browser(.dev).js exporting micromark functions to render HTML from parsed/processed Markdown.
This commit is contained in:
parent
1dd49791e0
commit
91e5a2f134
5 changed files with 43 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const htmlEntry = "./exports-html.mjs";
|
||||
const htmlName = "micromarkHtmlBrowser";
|
||||
|
||||
const base = {
|
||||
"entry": "./exports.mjs",
|
||||
"output": {
|
||||
|
@ -73,5 +76,31 @@ module.exports = [
|
|||
...web.output,
|
||||
"filename": "micromark-browser.dev.js"
|
||||
}
|
||||
},
|
||||
{
|
||||
...web,
|
||||
...production,
|
||||
"entry": htmlEntry,
|
||||
"output": {
|
||||
...web.output,
|
||||
"library": {
|
||||
...web.output.library,
|
||||
"name": htmlName
|
||||
},
|
||||
"filename": "micromark-html-browser.js"
|
||||
}
|
||||
},
|
||||
{
|
||||
...web,
|
||||
...development,
|
||||
"entry": htmlEntry,
|
||||
"output": {
|
||||
...web.output,
|
||||
"library": {
|
||||
...web.output.library,
|
||||
"name": htmlName
|
||||
},
|
||||
"filename": "micromark-html-browser.dev.js"
|
||||
}
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue