mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
35 lines
493 B
JavaScript
35 lines
493 B
JavaScript
|
|
// @ts-check
|
||
|
|
|
||
|
|
"use strict";
|
||
|
|
|
||
|
|
const shared = {
|
||
|
|
"entry": "./exports.mjs",
|
||
|
|
"output": {
|
||
|
|
"library": {
|
||
|
|
"type": "commonjs"
|
||
|
|
},
|
||
|
|
"path": __dirname
|
||
|
|
},
|
||
|
|
"target": "node"
|
||
|
|
};
|
||
|
|
|
||
|
|
module.exports = [
|
||
|
|
{
|
||
|
|
...shared,
|
||
|
|
"mode": "production",
|
||
|
|
"output": {
|
||
|
|
...shared.output,
|
||
|
|
"filename": "micromark.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
...shared,
|
||
|
|
"devtool": false,
|
||
|
|
"mode": "development",
|
||
|
|
"output": {
|
||
|
|
...shared.output,
|
||
|
|
"filename": "micromark.dev.js"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
];
|