captivate-fm-api-client
Version:
A Node.js client for the Captivate.fm API. Upload media, create episodes, and manage authentication.
24 lines (22 loc) • 562 B
JavaScript
const resolve = require("@rollup/plugin-node-resolve");
const commonjs = require("@rollup/plugin-commonjs");
const json = require("@rollup/plugin-json");
/** @type {import('rollup').RollupOptions[]} */
module.exports = [
{
input: "src/index.js",
output: {
file: "dist/index.cjs.js",
format: "cjs",
},
plugins: [resolve(), commonjs(), json()],
},
{
input: "src/index.js",
output: {
file: "dist/index.esm.js",
format: "esm",
},
plugins: [resolve(), commonjs(), json()],
},
];