Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ Results in:

Sometimes you need a bit more. If you would like to do custom processing, this is possible with a custom block, as demonstrated below.

```
```html
<!-- build:import components -->
<link rel="import" href="/bower_components/some/path"></link>
<!-- endbuild -->
```

With

```
```js
useref = require('useref')
var result = useref(inputHtml, {
// each property corresponds to any blocks with the same name, e.g. "build:import"
Expand All @@ -144,7 +144,7 @@ var result = useref(inputHtml, {

Becomes

```
```html
<link rel="import" href="/components/some/path"></link>
```

Expand Down