|
20 | 20 | "type": "npm", |
21 | 21 | "script": "build", |
22 | 22 | "group": "build", |
23 | | - "problemMatcher": [ |
24 | | - { |
25 | | - "fileLocation": "absolute", |
26 | | - "owner": "typescript", |
27 | | - "pattern": [ |
28 | | - { |
29 | | - "regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)", |
30 | | - "file": 1, |
31 | | - "line": 2, |
32 | | - "column": 3 |
33 | | - }, |
34 | | - { |
35 | | - "regexp": "\\s*TS\\d+:\\s*(.*)", |
36 | | - "message": 1 |
37 | | - } |
38 | | - ], |
39 | | - "severity": "error", |
40 | | - "source": "ts" |
41 | | - }, |
42 | | - { |
43 | | - "fileLocation": "relative", |
44 | | - "owner": "typescript", |
45 | | - "pattern": [ |
46 | | - { |
47 | | - "regexp": "WARNING in (.*)", |
48 | | - "file": 1 |
49 | | - }, |
50 | | - { |
51 | | - "regexp": "Module Warning (.*)" |
52 | | - }, |
53 | | - { |
54 | | - "regexp": "\\[(\\d+), (\\d+)\\]: (.*)", |
55 | | - "line": 1, |
56 | | - "column": 2, |
57 | | - "message": 3 |
58 | | - } |
59 | | - ], |
60 | | - "severity": "warning", |
61 | | - "source": "tslint", |
62 | | - "background": { |
63 | | - "activeOnStart": true, |
64 | | - "beginsPattern": { |
65 | | - "regexp": "webpack is watching the files..." |
66 | | - }, |
67 | | - "endsPattern": { |
68 | | - "regexp": "Built at\\:(.*)" |
69 | | - } |
70 | | - } |
71 | | - } |
72 | | - ] |
| 23 | + "problemMatcher": ["$ts-webpack", "$tslint-webpack"] |
73 | 24 | }, |
74 | 25 | { |
75 | 26 | "type": "npm", |
|
87 | 38 | "isBackground": true, |
88 | 39 | "problemMatcher": [ |
89 | 40 | { |
| 41 | + "base": "$ts-webpack", |
90 | 42 | "fileLocation": "absolute", |
91 | | - "owner": "typescript", |
92 | | - "pattern": [ |
93 | | - { |
94 | | - "regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)", |
95 | | - "file": 1, |
96 | | - "line": 2, |
97 | | - "column": 3 |
98 | | - }, |
99 | | - { |
100 | | - "regexp": "\\s*TS\\d+:\\s*(.*)", |
101 | | - "message": 1 |
102 | | - } |
103 | | - ], |
104 | | - "severity": "error", |
105 | | - "source": "ts", |
106 | 43 | "background": { |
107 | 44 | "activeOnStart": true, |
108 | 45 | "beginsPattern": { |
109 | | - "regexp": "webpack is watching the files..." |
| 46 | + "regexp": "Child extension:" |
110 | 47 | }, |
111 | 48 | "endsPattern": { |
112 | | - "regexp": "Built at\\:(.*)" |
| 49 | + "regexp": "Built at: .*" |
113 | 50 | } |
114 | 51 | } |
115 | 52 | }, |
116 | 53 | { |
117 | | - "fileLocation": "relative", |
118 | | - "owner": "typescript", |
119 | | - "pattern": [ |
120 | | - { |
121 | | - "regexp": "WARNING in (.*)", |
122 | | - "file": 1 |
123 | | - }, |
124 | | - { |
125 | | - "regexp": "Module Warning (.*)" |
126 | | - }, |
127 | | - { |
128 | | - "regexp": "\\[(\\d+), (\\d+)\\]: (.*)", |
129 | | - "line": 1, |
130 | | - "column": 2, |
131 | | - "message": 3 |
132 | | - } |
133 | | - ], |
134 | | - "severity": "warning", |
135 | | - "source": "tslint", |
| 54 | + "base": "$tslint-webpack", |
136 | 55 | "background": { |
137 | 56 | "activeOnStart": true, |
138 | 57 | "beginsPattern": { |
139 | | - "regexp": "webpack is watching the files..." |
| 58 | + "regexp": "Child extension:" |
140 | 59 | }, |
141 | 60 | "endsPattern": { |
142 | | - "regexp": "Built at\\:(.*)" |
| 61 | + "regexp": "Built at: .*" |
143 | 62 | } |
144 | 63 | } |
145 | 64 | } |
|
0 commit comments