js-waku/rollup.config.js

22 lines
453 B
JavaScript
Raw Normal View History

2022-05-27 13:01:52 +00:00
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: "waku",
2022-05-27 13:01:52 +00:00
},
plugins: [
commonjs(),
json(),
nodePolyfills(),
nodeResolve({
browser: true,
preferBuiltins: false,
}),
],
};