mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 02:08:00 +00:00
9c19e5f16a
* Bump deps * Cleanups
33 lines
558 B
JavaScript
33 lines
558 B
JavaScript
// Copyright 2017-2023 @polkadot/phishing 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 || {})
|
|
}
|
|
});
|
|
});
|