Module @reuters-graphics/yaks-rollup

Shortcut for simple Rollup configs the way we like them at Reuters Graphics.

Install.

npm i -D @reuters-graphics/yaks-rollup rollup typescript

Create a rollup.config.js file in the root of your project and use the module.

// rollup.config.js
import { getConfig } from '@reuters-graphics/yaks-rollup';

export default [
getConfig(),
];

Add a build script to your package.json.

// package.json
{
"scripts": {
"build": "rollup --config rollup.config.js"
}
}

Type Aliases

Options

Functions

getConfig