Skip to content

Commit 909ddf8

Browse files
authored
Update README.md
1 parent 5c1e808 commit 909ddf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ This plugin provides some custom webpack hooks (all are sync):
151151
```
152152
new ForkTsCheckerWebpackPlugin({
153153
tslint: true,
154-
vue: true
154+
vue: true,
155+
wildcard: '~' // Optional
155156
})
156157
```
157158

@@ -211,7 +212,7 @@ import Hello from '@/components/hello.vue'
211212
```
212213

213214
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
214-
the fallback for the `@` wildcard will be `[tsconfig directory]/src` (we hope to make this more flexible on future releases):
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):
215216
```
216217
// tsconfig.json
217218
{

0 commit comments

Comments
 (0)