Skip to content

Commit

Permalink
feat(index): use main module export
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Jun 23, 2016
1 parent 97b2519 commit 53cb738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 53cb738

Please sign in to comment.