mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-07 04:50:48 +08:00
Temporarily disable Windows in CI (#7773)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user