Skip to content

Commit e43fea1

Browse files
givehugyyx990803
authored andcommitted
docs: fix cli-plugin-typescript readme typo (#1062)
1 parent b285b0b commit e43fea1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/@vue/cli-plugin-typescript/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ By default, `ts-loader` is only applied to files inside `src` and `tests` direct
1616
module.exports = {
1717
chainWebpack: config => {
1818
config
19-
.rule('ts')
20-
.include
21-
.add(/module-to-transpile/)
19+
.module
20+
.rule('ts')
21+
.include
22+
.add(/module-to-transpile/)
2223
}
2324
}
2425
```

0 commit comments

Comments
 (0)