From 22bfb01d8550a48408c060f58354c1e6f9abebea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bazyli=20Brzo=CC=81ska?= Date: Sat, 29 Oct 2016 11:01:40 +0200 Subject: [PATCH] feat(index): add metadata object to options --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5e29fc6..58663fa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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', [])) }