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

Commit 42bfbce

Browse files
committed
fix(index): migrate loaders => rules
BREAKING CHANGE: requires webpack@>=2.1.0.beta.25
1 parent 15f42d6 commit 42bfbce

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
@@ -23,7 +23,7 @@ export = function typescript({options = undefined, exclude = null} = {}) {
2323
extensions: get(this, 'resolve.extensions', ['.js']).concat(['.ts'])
2424
},
2525
module: {
26-
loaders: get(this, 'module.loaders', []).concat([loader])
26+
rules: get(this, 'module.rules', []).concat([loader])
2727
},
2828
plugins: [
2929
/*

0 commit comments

Comments
 (0)