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