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-23 22:38:00 +00:00
|
|
|
import sourcemaps from 'rollup-plugin-sourcemaps';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
input: 'lib/index.js',
|
|
|
|
plugins: [sourcemaps()],
|
2021-02-15 19:08:58 +00:00
|
|
|
external: ['@syndicate-lang/core'],
|
2021-01-23 22:38:00 +00:00
|
|
|
output: {
|
|
|
|
file: 'index.js',
|
|
|
|
format: 'umd',
|
|
|
|
name: 'Main',
|
|
|
|
sourcemap: true,
|
|
|
|
globals: {
|
|
|
|
'@syndicate-lang/core': 'Syndicate',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|