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

Commit cf75133

Browse files
committed
feat(index): use main module export
1 parent f212585 commit cf75133

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: Array<string> = null) {
10+
export = function typescript(options = {}, exclude: Array<string> = null) {
1111
return function typescript(this: WebpackConfig): WebpackConfig {
1212
return {
1313
resolve: {

0 commit comments

Comments
 (0)