Skip to content

Commit

Permalink
feat(index): add metadata object to options
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Oct 29, 2016
1 parent 53b535c commit 22bfb01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export = function generateIndexHtml({minify = true, overrideOptions = {}} = {})
minify: minify ? {
removeComments: true,
collapseWhitespace: true
} : undefined
} : undefined,
metadata: get(this, 'metadata', {})
}, overrideOptions)),
].concat(get(this, 'plugins', []))
}
Expand Down

0 comments on commit 22bfb01

Please sign in to comment.