Skip to content

Commit

Permalink
feat(index): migrate to object based parameters
Browse files Browse the repository at this point in the history
BREAKING CHANGE: method takes in an object, rather than parameters
  • Loading branch information
niieani committed Jun 23, 2016
1 parent fd7477e commit 2278753
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 @@ import * as path from 'path'
* Json loader support for *.json files.
* See: https://github.com/webpack/json-loader
*/
export = function json(exclude: Array<string> = null) {
export = function json({exclude = null}) {
return function json(this: WebpackConfig): WebpackConfig {
return {
module: {
Expand Down

0 comments on commit 2278753

Please sign in to comment.