We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the case we have pattern.from = 'C:\my-repo\{manifest,manifest}.json' in windows and pattern.from = '/my-repo/{manifest,manifest}.json' in linux.
pattern.from = 'C:\my-repo\{manifest,manifest}.json'
pattern.from = '/my-repo/{manifest,manifest}.json'
copy-webpack-plugin/src/preProcessPattern.js
Line 67 in adf1046
It returned true in linux but returned false in windows because of micromatch/is-glob#10.
true
false
Tried:
> require('is-glob')('C:\\{foo,bar}.js') false > require('is-glob')('/{foo,bar}.js') true
I also tried is-glob@2.0.1 and got true in both cases.
is-glob@2.0.1
Any idea to make it works in Windows? Thanks!
egoist/poi#533
The text was updated successfully, but these errors were encountered:
@VdustR let's wait answer from is-glob, don't think what we can fixed it on our side
is-glob
Sorry, something went wrong.
Won't fix micromatch/is-glob#9, feel free to send a PR with workaround
Of somebody can find workaround PR welcome
Successfully merging a pull request may close this issue.
As the case we have
pattern.from = 'C:\my-repo\{manifest,manifest}.json'
in windows andpattern.from = '/my-repo/{manifest,manifest}.json'
in linux.copy-webpack-plugin/src/preProcessPattern.js
Line 67 in adf1046
It returned
true
in linux but returnedfalse
in windows because of micromatch/is-glob#10.Tried:
I also tried
is-glob@2.0.1
and gottrue
in both cases.Any idea to make it works in Windows? Thanks!
egoist/poi#533
The text was updated successfully, but these errors were encountered: