novy-syndicate/rollup.config.js

14 lines
316 B
JavaScript

export default {
input: 'lib/sturdy-demo.js',
output: {
file: 'index.js',
format: 'umd',
name: 'Main',
globals: {
'preserves': 'Preserves',
'crypto': 'crypto', // this is a lie, but it lets the detection code in cryptography.ts run
},
},
external: ['preserves', 'crypto'],
};