2021-12-01 16:24:29 +00:00
|
|
|
/// SPDX-License-Identifier: GPL-3.0-or-later
|
2023-01-17 10:43:15 +00:00
|
|
|
/// SPDX-FileCopyrightText: Copyright © 2016-2023 Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
2021-12-01 16:24:29 +00:00
|
|
|
|
2021-01-25 21:15:02 +00:00
|
|
|
import { SyndicateRollup } from '../../rollup.js';
|
|
|
|
const r = new SyndicateRollup('syndicate', { globalName: 'Syndicate' });
|
2021-01-17 13:14:02 +00:00
|
|
|
export default [
|
2021-01-25 21:15:02 +00:00
|
|
|
r.config('lib/index.js', r.umd, {
|
|
|
|
output: {
|
|
|
|
globals: {
|
|
|
|
'crypto': 'crypto',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
r.config('lib/index.js', r.es6, {
|
|
|
|
resolve: {
|
|
|
|
moduleDirectories: ['stubs', 'node_modules'],
|
|
|
|
},
|
|
|
|
}),
|
2021-01-17 13:14:02 +00:00
|
|
|
];
|