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

Commit 7e3d4ac

Browse files
committed
fix(index): default extension should not be empty
1 parent 74efafd commit 7e3d4ac

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
@@ -20,7 +20,7 @@ export = function typescript({options = undefined, exclude = null} = {}) {
2020

2121
return {
2222
resolve: {
23-
extensions: get(this, 'resolve.extensions', ['', '.js']).concat(['.ts'])
23+
extensions: get(this, 'resolve.extensions', ['.js']).concat(['.ts'])
2424
},
2525
module: {
2626
loaders: get(this, 'module.loaders', []).concat([loader])

0 commit comments

Comments
 (0)