From 53cb73849771599a57f47b9962001f8db974ae67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bazyli=20Brzo=CC=81ska?= Date: Thu, 23 Jun 2016 14:16:07 +0200 Subject: [PATCH] feat(index): use main module export --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 233ab7d..6211d43 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin') * Generates an index.html from a template * See: https://github.com/ampedandwired/html-webpack-plugin */ -export function generateIndexHtml(minify = true, overrideOptions = {}) { +export = function generateIndexHtml(minify = true, overrideOptions = {}) { return function generateIndexHtml(this: WebpackConfig): WebpackConfig { return { plugins: [