# @vazgentigranich/parlor-broccoli-rollup

> Rollup integration with broccoli

Latest version **2.1.1** (published 2020-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vazgentigranich/parlor-broccoli-rollup
pnpm add @vazgentigranich/parlor-broccoli-rollup
yarn add @vazgentigranich/parlor-broccoli-rollup
bun add @vazgentigranich/parlor-broccoli-rollup
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2020-06-11 |
| First published | 2020-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0 |
| Dependencies | 11 |
| Unpacked size | 28 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 36 |
| Author | Chad Hietala |
| Maintainers | vazgentigranich |
| Keywords | broccoli, rollup |

## Links

- npm: https://www.npmjs.com/package/@vazgentigranich/parlor-broccoli-rollup
- Repository: https://github.com/chadhietala/broccoli-rollup
- Homepage: https://github.com/chadhietala/broccoli-rollup#readme
- Issues: https://github.com/chadhietala/broccoli-rollup/issues
- npm.io page: https://npm.io/package/@vazgentigranich/parlor-broccoli-rollup

## Dependencies (11)

- [rollup](https://npm.io/package/rollup.md) ^0.67.1
- [walk-sync](https://npm.io/package/walk-sync.md) ^0.3.1
- [heimdalljs](https://npm.io/package/heimdalljs.md) ^0.2.1
- [@types/node](https://npm.io/package/@types/node.md) ^9.6.0
- [fs-tree-diff](https://npm.io/package/fs-tree-diff.md) ^0.5.2
- [magic-string](https://npm.io/package/magic-string.md) ^0.24.0
- [broccoli-plugin](https://npm.io/package/broccoli-plugin.md) ^1.2.1
- [symlink-or-copy](https://npm.io/package/symlink-or-copy.md) ^1.1.8
- [amd-name-resolver](https://npm.io/package/amd-name-resolver.md) ^1.2.0
- [heimdalljs-logger](https://npm.io/package/heimdalljs-logger.md) ^0.1.7
- [node-modules-path](https://npm.io/package/node-modules-path.md) ^1.0.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2020-06-11

## README

# Usage [![Build Status](https://travis-ci.org/chadhietala/broccoli-rollup.svg?branch=master)](https://travis-ci.org/chadhietala/broccoli-rollup)

Broccoli-rollup is a simple wrapper around [Rollup](https://github.com/rollup/rollup). In the options object pass the [rollup options](https://rollupjs.org/guide/en#big-list-of-options).

#### basic

```js
var Rollup = require('broccoli-rollup');
var lib = 'lib';

module.exports = new Rollup(lib, {
  // nodeModulesPath: string Defaults to process.cwd()
  rollup: {
    input: 'lib/index.js',
    output: {
      file: 'my-lib.js',
      format: 'es',
    },
    // cache: true|false Defaults to true
  }
})
```

#### \w targets

```js
var Rollup = require('broccoli-rollup');
var lib = 'lib';

module.exports = new Rollup(lib, {
  rollup: {
    input: 'lib/index.js',
    output: [
      {
        file: 'my-lib.amd.js'
        format: 'amd',
      },
      {
        file: 'my-lib.iife.js'
        format: 'iife',
      }
    ]
  }
})
```

---
_Source: https://npm.io/package/@vazgentigranich/parlor-broccoli-rollup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
