Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makotot/assemble-unused-partials

Check & output the unused assemble partials
https://github.com/makotot/assemble-unused-partials

Last synced: 28 days ago
JSON representation

Check & output the unused assemble partials

Awesome Lists containing this project

README

        

# assemble-unused-partials

[![npm version](https://img.shields.io/npm/v/assemble-unused-partials.svg?style=flat-square)](https://www.npmjs.com/package/assemble-unused-partials)
[![travis](http://img.shields.io/travis/makotot/assemble-unused-partials.svg?style=flat-square)](https://github.com/makotot/assemble-unused-partials)
[![dependencies](http://img.shields.io/david/makotot/assemble-unused-partials.svg?style=flat-square)](https://github.com/makotot/assemble-unused-partials)
[![devDependencies](http://img.shields.io/david/dev/makotot/assemble-unused-partials.svg?style=flat-square)](https://github.com/makotot/assemble-unused-partials)
[![License](http://img.shields.io/npm/l/assemble-unused-partials.svg?style=flat-square)](https://github.com/makotot/assemble-unused-partials)

> Check & output the unused [assemble](http://assemble.io/) partials

## Install
```sh
$ npm i --save-dev assemble-unused-partials
```

## Register
```js
assemble: {
options: {
plugins: ['assemble-unused-partials']
}
}
```

## Options

### excludes

A list of glob pattern that you want to exclude.

- type: `array`

```js
assemble: {
options: {
plugins: ['assemble-unused-partials']
},
unusedPartials: {
excludes: [
'./src/partials/excludes/**/*.hbs',
...
]
}
}
```

## License

MIT