https://github.com/samccone/roots-asset-expand
https://github.com/samccone/roots-asset-expand
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samccone/roots-asset-expand
- Owner: samccone
- Created: 2014-03-13T23:06:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-13T23:39:41.000Z (over 12 years ago)
- Last Synced: 2025-01-28T10:48:54.912Z (over 1 year ago)
- Language: CoffeeScript
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Roots Asset Expand - WIP
============
[](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
```