UNPKG

rough-notation

Version:

Create and animate hand-drawn annotations on a web page

32 lines (30 loc) 599 B
import resolve from 'rollup-plugin-node-resolve'; import { terser } from "rollup-plugin-terser"; const input = 'lib/rough-notation.js'; export default [ { input, output: { file: 'lib/rough-notation.iife.js', format: 'iife', name: 'RoughNotation' }, plugins: [resolve(), terser()] }, { input, output: { file: 'lib/rough-notation.esm.js', format: 'esm' }, plugins: [resolve(), terser()] }, { input, output: { file: 'lib/rough-notation.cjs.js', format: 'cjs' }, plugins: [resolve(), terser()] }, ];