14 lines
311 B
JavaScript
14 lines
311 B
JavaScript
|
export default {
|
||
|
input: 'lib/sturdy.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'],
|
||
|
};
|