Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): optimize web worker differential …
Browse files Browse the repository at this point in the history
…loading processing

Closes #16441
  • Loading branch information
clydin authored and vikerman committed Dec 17, 2019
1 parent ff5f795 commit a5a8cc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function createReplacePlugin(replacements: [string, string][]): PluginObj {
StringLiteral(path: NodePath<types.StringLiteral>) {
for (const replacement of replacements) {
if (path.node.value === replacement[0]) {
path.replaceWith(types.stringLiteral(replacement[1]));
path.node.value = replacement[1];
}
}
},
Expand Down

0 comments on commit a5a8cc5

Please sign in to comment.