You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,8 +151,7 @@ This plugin provides some custom webpack hooks (all are sync):
151
151
```
152
152
new ForkTsCheckerWebpackPlugin({
153
153
tslint: true,
154
-
vue: true,
155
-
wildcard: '~' // Optional
154
+
vue: true
156
155
})
157
156
```
158
157
@@ -211,8 +210,7 @@ import Hello from '@/components/hello.vue'
211
210
}
212
211
```
213
212
214
-
6. The commonly used `@` path wildcard will work if you set up a `baseUrl` and `paths` (in `compilerOptions`) to include `@/*`. If you don't set this, then
215
-
the fallback to options.wildcard and if this not exist the fallback will be `[tsconfig directory]/src` (we hope to make this more flexible on future releases):
213
+
6. It accepts any wildcard in your TypeScript configuration:
216
214
```
217
215
// tsconfig.json
218
216
{
@@ -224,6 +222,9 @@ the fallback to options.wildcard and if this not exist the fallback will be `[ts
0 commit comments