Skip to content

Commit 961b002

Browse files
committed
feat(index): add -loader suffix
done in preparation for webpack/webpack#3102
1 parent 437f5f4 commit 961b002

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
@@ -10,7 +10,7 @@ export = function tslint({options = undefined, exclude = null} = {}) {
1010
return {
1111
module: {
1212
rules: get(this, 'module.rules', []).concat([
13-
{ test: /\.tsx?$/, loader: 'tslint', enforce: 'pre', exclude: exclude || (this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : []) }
13+
{ test: /\.tsx?$/, loader: 'tslint-loader', enforce: 'pre', exclude: exclude || (this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : []) }
1414
])
1515
},
1616
tslint: options

0 commit comments

Comments
 (0)