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