diff --git a/src/index.ts b/src/index.ts index cedb158..13386df 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import * as path from 'path' * Json loader support for *.json files. * See: https://github.com/webpack/json-loader */ -export function json(exclude: Array = null) { +export = function json(exclude: Array = null) { return function json(this: WebpackConfig): WebpackConfig { return { module: {