Build: make version in build artifacts match (#26329)
Some build artifacts contain multiple version strings. It seems like an oversight to me that this `.replace` call just replaces the one that happens to be first.
This commit is contained in:
parent
88313ffd57
commit
ba353a50a6
|
@ -332,7 +332,7 @@ function updatePlaceholderReactVersionInCompiledArtifacts(
|
|||
|
||||
for (const artifactFilename of artifactFilenames) {
|
||||
const originalText = fs.readFileSync(artifactFilename, 'utf8');
|
||||
const replacedText = originalText.replace(
|
||||
const replacedText = originalText.replaceAll(
|
||||
PLACEHOLDER_REACT_VERSION,
|
||||
newVersion
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue