mirror of https://github.com/waku-org/js-waku.git
24 lines
453 B
JavaScript
24 lines
453 B
JavaScript
import commonjs from "@rollup/plugin-commonjs";
|
|
import json from "@rollup/plugin-json";
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
|
|
export default {
|
|
input: {
|
|
index: "dist/index.js",
|
|
ecies: "dist/ecies.js",
|
|
symmetric: "dist/symmetric.js",
|
|
},
|
|
output: {
|
|
dir: "bundle",
|
|
format: "esm",
|
|
},
|
|
plugins: [
|
|
commonjs(),
|
|
json(),
|
|
nodeResolve({
|
|
browser: true,
|
|
preferBuiltins: false,
|
|
}),
|
|
],
|
|
};
|