Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
at db9117844e3d51006b5baf57ed73bbf4c39ba0aa 16 lines 306 B view raw
1import {nodeResolve} from "@rollup/plugin-node-resolve" 2 3export default { 4 input: "./src/parser.js", 5 output: [{ 6 format: "cjs", 7 file: "./dist/index.cjs" 8 }, { 9 format: "es", 10 file: "./dist/index.js" 11 }], 12 external(id) { return !/^[\.\/]/.test(id) }, 13 plugins: [ 14 nodeResolve() 15 ] 16}