mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 21:58:03 +00:00
33 lines
553 B
JavaScript
33 lines
553 B
JavaScript
// Copyright 2017-2022 @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 || {})
|
|
}
|
|
});
|
|
});
|