mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
19 lines
475 B
JavaScript
19 lines
475 B
JavaScript
const generate = require('videojs-generate-rollup-config');
|
|
|
|
// see https://github.com/videojs/videojs-generate-rollup-config
|
|
// for options
|
|
const options = {
|
|
input: 'src/index.js',
|
|
externals(defaults) {
|
|
defaults.module.push('pkcs7');
|
|
defaults.module.push('@videojs/vhs-utils');
|
|
return defaults;
|
|
}
|
|
};
|
|
const config = generate(options);
|
|
|
|
// Add additonal builds/customization here!
|
|
|
|
// export the builds to rollup
|
|
export default Object.values(config.builds);
|