Files
phishing/rollup.config.mjs
T
2021-07-11 17:20:48 +02:00

33 lines
553 B
JavaScript

// Copyright 2017-2021 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { createBundle } from '@polkadot/dev/config/rollup';
const pkgs = [
'@polkadot/phishing'
];
const external = [
...pkgs,
'@polkadot/util',
'@polkadot/util-crypto'
];
const entries = {};
const overrides = {};
export default pkgs.map((pkg) => {
const override = (overrides[pkg] || {});
return createBundle({
external,
pkg,
...override,
entries: {
...entries,
...(override.entries || {})
}
});
});