UNPKG

rollup-plugin-md

Version:

a rollup plugin for markdown files

21 lines (19 loc) 328 B
var pkg = require('./package.json') var external = Object.keys( pkg.dependencies ); export default { input: 'src/index.js', output: [ { format: 'cjs', file: pkg['main'], sourcemap: true, exports: 'auto' }, { format: 'es', file: pkg['jsnext:main'], sourcemap: true } ], external: external };