2021-01-08 22:17:25 +05:30
|
|
|
const commonjs = require('@rollup/plugin-commonjs');
|
2019-11-06 14:00:06 -06:00
|
|
|
const license = require('rollup-plugin-license');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
input: 'src/marked.js',
|
|
|
|
output: {
|
|
|
|
file: 'lib/marked.esm.js',
|
|
|
|
format: 'esm'
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
license({
|
|
|
|
banner: `
|
2019-11-06 15:56:29 -06:00
|
|
|
DO NOT EDIT THIS FILE
|
|
|
|
The code in this file is generated from files in ./src/
|
2019-11-06 16:12:58 -06:00
|
|
|
`
|
2019-11-06 15:56:29 -06:00
|
|
|
}),
|
|
|
|
license({
|
|
|
|
banner: `
|
2019-11-06 14:00:06 -06:00
|
|
|
marked - a markdown parser
|
2019-11-11 11:24:05 -06:00
|
|
|
Copyright (c) 2011-${new Date().getFullYear()}, Christopher Jeffrey. (MIT Licensed)
|
2019-11-06 14:00:06 -06:00
|
|
|
https://github.com/markedjs/marked
|
|
|
|
`
|
|
|
|
}),
|
|
|
|
commonjs()
|
|
|
|
]
|
|
|
|
};
|