mirror of https://github.com/status-im/js-waku.git
22 lines
455 B
JavaScript
22 lines
455 B
JavaScript
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
||
|
import commonjs from "@rollup/plugin-commonjs";
|
||
|
import json from "@rollup/plugin-json";
|
||
|
import nodePolyfills from "rollup-plugin-polyfill-node";
|
||
|
|
||
|
export default {
|
||
|
output: {
|
||
|
file: "dist/umd/index.js",
|
||
|
format: "umd",
|
||
|
name: "jswaku",
|
||
|
},
|
||
|
plugins: [
|
||
|
commonjs(),
|
||
|
json(),
|
||
|
nodePolyfills(),
|
||
|
nodeResolve({
|
||
|
browser: true,
|
||
|
preferBuiltins: false,
|
||
|
}),
|
||
|
],
|
||
|
};
|