mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
34 lines
493 B
JavaScript
34 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"
|
|
}
|
|
}
|
|
];
|