Files
phishing/rollup.config.mjs
T
Jaco c137733de4 Update headers for 2023 (#2741)
* Update headers for 2023

* Update in scripts
2023-01-01 10:21:28 +02:00

33 lines
553 B
JavaScript

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