Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Update ts-checker to v5 for Vue 3 support (see egoist#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
scbash committed Aug 23, 2020
1 parent 13e3d35 commit e8f3a6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions plugins/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,18 @@ exports.apply = (
.use(require('fork-ts-checker-webpack-plugin'), [
Object.assign(
{
vue: true,
typescript: {
extensions: {
vue: true
}
},
formatter: 'codeframe',
// https://github.com/TypeStrong/ts-loader#happypackmode-boolean-defaultfalse
checkSyntacticErrors: api.config.parallel
},
tscheckerOptions,
{
tsconfig: configFile,
tslint:
lintOnSave &&
Boolean(api.configLoader.resolve({ files: ['tslint.json'] }))
typescript: {
tsconfig: configFile,
}
}
)
])
Expand Down
4 changes: 2 additions & 2 deletions plugins/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@poi/plugin-typescript",
"version": "12.3.1",
"version": "12.3.1-ts-checker-5",
"publishConfig": {
"access": "public"
},
Expand All @@ -9,7 +9,7 @@
"index.js"
],
"dependencies": {
"fork-ts-checker-webpack-plugin": "^0.5.0",
"fork-ts-checker-webpack-plugin": "^5.1.0",
"ts-loader": "^5.3.0",
"ts-pnp": "^1.0.0",
"tslint": "^6.1.2"
Expand Down

0 comments on commit e8f3a6f

Please sign in to comment.