@inrupt/base-rollup-config
v3.1.0
Published
This package provides a shared rollup config for our packages
Downloads
4,232
Readme
@inrupt/base-rollup-config
This package contains the base configuration for rollup across our packages
Installation
npm install --save-dev @inrupt/base-rollup-config
Usage:
Can be used in rollup.config.mjs as follows:
import { createRequire } from "node:module";
import createConfig from "@inrupt/base-rollup-config";
const require = createRequire(import.meta.url);
export default createConfig(require("./package.json"));
Make sure to specify main
(cjs), module
(esm) and types
entrypoints in the package.json as rollup uses
these entries to determine where to write the output.