Currently,
if the include field is ['123.ts'], file named 123.ts at root path of project will be included.
but if the include field is ['*.ts'], file named 123.ts at root path of project will not be included.
Should I modify code in packages/pluginutils/src/createFilter.ts like this ?
function getMatcherString(id: string, resolutionBase: string | false | null | undefined) {
- if (resolutionBase === false || isAbsolute(id) || id.startsWith('*')) {
+ if (resolutionBase === false || isAbsolute(id) || id.startsWith('**')) {
Sorry I can't make a pr cause test script can't run on my pc.
Currently,
if the
includefield is['123.ts'], file named123.tsat root path of project will be included.but if the
includefield is['*.ts'], file named123.tsat root path of project will not be included.Should I modify code in
packages/pluginutils/src/createFilter.tslike this ?function getMatcherString(id: string, resolutionBase: string | false | null | undefined) { - if (resolutionBase === false || isAbsolute(id) || id.startsWith('*')) { + if (resolutionBase === false || isAbsolute(id) || id.startsWith('**')) {Sorry I can't make a pr cause
testscript can't run on my pc.