mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-10 20:46:52 +00:00
50c2c2540f
* move constants & core's func to @waku/utils * setup @waku/relay * use @waku/relay for create * address: principal review * fix: size-limit * move all constants to @waku/core * move TopicOnlyDecoder to relay * merge: master * fix: tests * Move constants out of core (#1340) * update package.lock * change constants folder into a ts file * use dependency version as * instead of version number * add constants import from @waku/core * add empty changelog file for relay --------- Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
25 lines
522 B
JavaScript
25 lines
522 B
JavaScript
import commonjs from "@rollup/plugin-commonjs";
|
|
import json from "@rollup/plugin-json";
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
import { extractExports } from "@waku/build-utils";
|
|
|
|
import * as packageJson from "./package.json" assert { type: "json" };
|
|
|
|
const input = extractExports(packageJson);
|
|
|
|
export default {
|
|
input,
|
|
output: {
|
|
dir: "bundle",
|
|
format: "esm",
|
|
},
|
|
plugins: [
|
|
commonjs(),
|
|
json(),
|
|
nodeResolve({
|
|
browser: true,
|
|
preferBuiltins: false,
|
|
}),
|
|
],
|
|
};
|