# broccoli-es6-concatenator

> ES6 transpiler and concatenator for Broccoli

Latest version **0.1.11** (published 2014-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install broccoli-es6-concatenator
pnpm add broccoli-es6-concatenator
yarn add broccoli-es6-concatenator
bun add broccoli-es6-concatenator
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2014-11-27 |
| First published | 2013-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Jo Liss |
| Maintainers | joliss, rwjblue |
| Keywords | broccoli-plugin, concatenate, javascript, es6, module, transpile, amd, commonjs |

## Links

- npm: https://www.npmjs.com/package/broccoli-es6-concatenator
- Repository: https://github.com/joliss/broccoli-es6-concatenator
- Issues: https://github.com/joliss/broccoli-es6-concatenator/issues
- npm.io page: https://npm.io/package/broccoli-es6-concatenator

## Dependencies (5)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.3.5
- [broccoli-writer](https://npm.io/package/broccoli-writer.md) ^0.1.1
- [js-string-escape](https://npm.io/package/js-string-escape.md) ^1.0.0
- [es6-module-transpiler](https://npm.io/package/es6-module-transpiler.md) ^0.3.6
- [broccoli-kitchen-sink-helpers](https://npm.io/package/broccoli-kitchen-sink-helpers.md) ^0.2.5

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.11 (latest) — 2014-11-27
- 0.1.10 — 2014-10-11
- 0.1.9 — 2014-10-10
- 0.1.8 — 2014-10-03
- 0.1.7 — 2014-07-03
- 0.1.6 — 2014-05-31
- 0.1.5 — 2014-05-01
- 0.1.4 — 2014-04-05
- 0.1.3 — 2014-04-02
- 0.1.2 — 2014-03-13
- 0.1.1 — 2014-03-13
- 0.1.0 — 2014-02-25
- 0.0.7 — 2014-02-10
- 0.0.6 — 2014-02-07
- 0.0.5 — 2014-02-06
- … 4 more at https://npm.io/package/broccoli-es6-concatenator/versions

## README

# broccoli-es6-concatenator

Transpile ES6 modules and concatenate them, recursively including modules
referenced by `import` statements.

**This plugin is deprecated.** It uses an old version of
[es6-module-transpiler](https://github.com/esnext/es6-module-transpiler). The
es6-module-transpiler has since been rewritten in order to correctly reflect
ES6 module semantics. There is no hope to update broccoli-es6-concatenator to
the new es6-module-transpiler API. Somebody will have to write a new plugin
from scratch that works with the new es6-module-transpiler.

## Installation

```bash
npm install --save-dev broccoli-es6-concatenator
```

## Usage

Note: The API will change in subsequent 0.x versions.

```js
var compileES6 = require('broccoli-es6-concatenator');
var applicationJs = compileES6(sourceTree, {
  loaderFile: 'loader.js',
  ignoredModules: [
    'resolver'
  ],
  inputFiles: [
    'todomvc/**/*.js'
  ],
  legacyFilesToAppend: [
    'jquery.js',
    'handlebars.js',
    'ember.js',
  ],
  wrapInEval: true,
  outputFile: '/assets/application.js'
});
```

### Options

* `.wrapInEval` (boolean): Enable or disable wrapping each module in an `eval`
  call with a `//# sourceURL` comment. Defaults to true, though this may change in the future.

* `.loaderFile` (string): When specified prepends the contents of `loaderFile`.

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