marked-mfm/rollup.config.umd.js
Sol Fisher Romanoff 1dde5177ea
Add bundler
2022-07-08 23:51:13 +03:00

15 lines
296 B
JavaScript

const babel = require('@rollup/plugin-babel').default
export default {
input: 'src/index.js',
output: {
name: 'markedMfm',
file: 'lib/index.umd.js',
exports: 'default',
format: 'umd',
},
plugins: [
babel({ presets: [['@babel/preset-env', { loose: true }]] }),
],
}