Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
at d222fc8ba3b006d741ae7537db6a00b7742c0229 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}