markdownlint/micromark/webpack.config.js

35 lines
495 B
JavaScript
Raw Normal View History

// @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.cjs"
}
},
{
...shared,
"devtool": false,
"mode": "development",
"output": {
...shared.output,
"filename": "micromark.dev.cjs"
}
}
];