Temporarily disable Windows in CI (#7773)

This commit is contained in:
Ian Schmitz
2019-10-02 22:11:25 -07:00
committed by GitHub
parent 7fae307aef
commit e51ea135e1
5 changed files with 91 additions and 93 deletions

View File

@@ -17,7 +17,9 @@ class InlineChunkHtmlPlugin {
if (tag.tagName !== 'script' || !(tag.attributes && tag.attributes.src)) {
return tag;
}
const scriptName = publicPath ? tag.attributes.src.replace(publicPath, '') : tag.attributes.src;
const scriptName = publicPath
? tag.attributes.src.replace(publicPath, '')
: tag.attributes.src;
if (!this.tests.some(test => scriptName.match(test))) {
return tag;
}