// Copyright 2017-2024 @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 || {}) } }); });