# broccoli-static-compiler

> Broccoli compiler to copy static files

Latest version **0.2.2** (published 2015-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install broccoli-static-compiler
pnpm add broccoli-static-compiler
yarn add broccoli-static-compiler
bun add broccoli-static-compiler
```

## 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.2.2 |
| Published | 2015-09-02 |
| First published | 2014-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Jo Liss |
| Maintainers | joliss |
| Keywords | broccoli-plugin, files |

## Links

- npm: https://www.npmjs.com/package/broccoli-static-compiler
- Repository: https://github.com/joliss/broccoli-static-compiler
- Homepage: https://github.com/joliss/broccoli-static-compiler#readme
- Issues: https://github.com/joliss/broccoli-static-compiler/issues
- npm.io page: https://npm.io/package/broccoli-static-compiler

## Dependencies (4)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.0
- [broccoli-writer](https://npm.io/package/broccoli-writer.md) ^0.1.1
- [symlink-or-copy](https://npm.io/package/symlink-or-copy.md) ^1.0.0
- [broccoli-kitchen-sink-helpers](https://npm.io/package/broccoli-kitchen-sink-helpers.md) ^0.2.5

## Recent versions

- 0.2.2 (latest) — 2015-09-02
- 0.2.1 — 2014-10-07
- 0.2.0 — 2014-10-02
- 0.1.4 — 2014-04-05

## README

# broccoli-static-compiler

**This plugin is deprecated. Use
[broccoli-funnel](https://github.com/rwjblue/broccoli-funnel) instead.**

Pick files out of a tree, optionally moving them.

(The package name is for historical reasons. We might change it when we hit
1.0.)

## Installation

```bash
npm install --save-dev broccoli-static-compiler
```

## Usage Example

```js
var pickFiles = require('broccoli-static-compiler');
var imagesTree = pickFiles(sourceTree, {
  srcDir: '/todomvc',
  files: ['**/*.png', '**/*.jpg'],
  destDir: '/assets'
});
```

This would copy `/todomvc/icons/check-mark.png` to
`/assets/icons/check-mark.png`.

## Options

### srcDir (required), destDir (required)

The `destDir` directory will be created, and all files and directories inside
of `srcDir` will be recursively copied into `destDir`.

### files (optional)

A list of glob patterns. If provided, instead of copying all files, only files
matched by any of the patterns will be copied. You must only specify files,
not directories, in this list.

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