Skip to content

Commit 7295f13

Browse files
committed
Add repro
1 parent eb9a54b commit 7295f13

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ import { createApp } from 'vue'
22
import App from './App.vue'
33

44
createApp(App).mount('#app')
5+
6+
let x = 1;
7+
x = "INVALID TYPE2!";

vue.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
parallel: true,
3+
chainWebpack: config => {
4+
const tsLoader = config.module.rule('ts')
5+
tsLoader
6+
.use('ts-loader')
7+
.loader('ts-loader')
8+
.tap(options => {
9+
return {
10+
errorFormatter: (message, colors) => {
11+
return "CUSTOM ERROR!";
12+
}
13+
}
14+
})
15+
}
16+
}

0 commit comments

Comments
 (0)