2021-12-01 16:24:29 +00:00
|
|
|
/// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
/// SPDX-FileCopyrightText: Copyright © 2016-2021 Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
|
|
|
|
2021-01-26 21:10:41 +00:00
|
|
|
import sourcemaps from 'rollup-plugin-sourcemaps';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
input: 'lib/index.js',
|
|
|
|
plugins: [sourcemaps()],
|
|
|
|
output: {
|
|
|
|
file: 'index.js',
|
|
|
|
format: 'umd',
|
|
|
|
name: 'Main',
|
|
|
|
sourcemap: true,
|
|
|
|
globals: {
|
|
|
|
'@syndicate-lang/core': 'Syndicate',
|
|
|
|
'@syndicate-lang/html': 'SyndicateHtml',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|