Adds annotations to Mirador 4 implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
759 B

import { nodeResolve } from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
export default [
{
input: 'index.js',
output: {
file: 'dist/svgcanvas.js',
format: 'cjs'
}
},
{
input: 'index.js',
output: {
file: 'dist/svgcanvas.esm.js',
format: 'esm'
}
},
{
input: 'test/index.js',
output: {
file: 'dist/test.js',
format: 'iife'
}
},
{
input: 'test/rendering.test.js',
output: {
file: 'dist/rendering.test.js',
format: 'iife',
sourcemap: true,
},
plugins: [nodeResolve(), commonjs()]
},
]