marked/rollup.config.esm.js

21 lines
412 B
JavaScript
Raw Normal View History

2019-11-06 14:00:06 -06:00
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: `
marked - a markdown parser
Copyright (c) 2011-2018, Christopher Jeffrey. (MIT Licensed)
https://github.com/markedjs/marked
`
}),
commonjs()
]
};