Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.

Commit cab0802

Browse files
committed
fix(index): do not fail when no parameter passed in
1 parent 77fe018 commit cab0802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'regenerator-runtime/runtime'
77
* Typescript loader support for .ts
88
* See: https://github.com/s-panferov/awesome-typescript-loader
99
*/
10-
export = function typescript({options = {}, exclude = null}) {
10+
export = function typescript({options = {}, exclude = null} = {}) {
1111
return function typescript(this: WebpackConfig): WebpackConfig {
1212
return {
1313
resolve: {

0 commit comments

Comments
 (0)