This commit is contained in:
2025-04-23 10:45:21 +02:00
parent 8030ffb888
commit d17fb46943
716 changed files with 163468 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
const commonjs = require('rollup-plugin-commonjs');
const license = require('rollup-plugin-license');
module.exports = {
input: 'src/marked.js',
output: {
file: 'lib/marked.esm.js',
format: 'esm'
},
plugins: [
license({
banner: `
DO NOT EDIT THIS FILE
The code in this file is generated from files in ./src/
`
}),
license({
banner: `
marked - a markdown parser
Copyright (c) 2011-${new Date().getFullYear()}, Christopher Jeffrey. (MIT Licensed)
https://github.com/markedjs/marked
`
}),
commonjs()
]
};