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

https://github.com/samccone/roots-asset-expand


https://github.com/samccone/roots-asset-expand

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

Roots Asset Expand - WIP
============

[![Build Status](https://travis-ci.org/samccone/roots-asset-expand.png)](https://travis-ci.org/samccone/roots-asset-expand)

## Installing

`npm install roots-asset-expand --save`

## Using
> in your app.coffee file

```coffeescript
extensions: [assetExpand({
lookup: "nested/*.js"
tagName: "script"
attributes: {
"type": "text/javascript"
}
})]
```

> in a jade file

```jade
// assets(nested/*.js)
h1 hi
```

> gives you

```html

hi


```