Use .cjs extension for markdownlint-micromark output files for clarity.

This commit is contained in:
David Anson 2023-01-14 15:35:52 -08:00
parent c9e8f8b8ea
commit fc2ed221ff
5 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,3 @@
exports.mjs
micromark.dev.js
micromark.dev.cjs
webpack.config.js

View file

@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "A trivial package that re-exports some micromark functionality as a CommonJS module",
"type": "commonjs",
"exports": "./micromark.js",
"exports": "./micromark.cjs",
"author": "David Anson (https://dlaa.me/)",
"license": "MIT",
"homepage": "https://github.com/DavidAnson/markdownlint",

View file

@ -19,7 +19,7 @@ module.exports = [
"mode": "production",
"output": {
...shared.output,
"filename": "micromark.js"
"filename": "micromark.cjs"
}
},
{
@ -28,7 +28,7 @@ module.exports = [
"mode": "development",
"output": {
...shared.output,
"filename": "micromark.dev.js"
"filename": "micromark.dev.cjs"
}
}
];