mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-16 23:41:20 +00:00
951ebdac9d
* feat!(@waku/sdk): rename package from @waku/create to @waku/sdk * feat: proxy @waku/core and @waku/utils through @waku/sdk * address comments * update package-lock * Update .size-limit.cjs Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> * integrate to release please --------- Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com> Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> Co-authored-by: Sasha <oleksandr@status.im>
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,
|
|
}),
|
|
],
|
|
};
|