js-waku/rollup.config.js

20 lines
372 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";
export default {
output: {
2022-07-26 05:00:24 +00:00
file: "dist/bundle.js",
format: "esm",
name: "waku",
2022-05-27 13:01:52 +00:00
},
plugins: [
commonjs(),
json(),
nodeResolve({
browser: true,
preferBuiltins: false,
}),
],
};