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