Skip to content

Commit 29b8d0e

Browse files
authored
[webpack5-localization-plugin] Streamline processing (#5095)
* [webpack5-localization-plugin] Streamline processing * Fix formatting * Fix variable --------- Co-authored-by: David Michon <dmichon-msft@users.noreply.github.com>
1 parent 69c7780 commit 29b8d0e

14 files changed

+443
-312
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/webpack5-localization-plugin",
5+
"comment": "Leverage webpack caching layer for localized and nonlocalized asset generation. Reduce unnecessary work.",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@rushstack/webpack5-localization-plugin"
10+
}

common/reviews/api/webpack5-localization-plugin.api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export interface _IStringPlaceholder {
125125
locFilePath: string;
126126
stringName: string;
127127
suffix: string;
128+
translations: ReadonlyMap<string, ReadonlyMap<string, string>>;
128129
value: string;
129-
valuesByLocale: Map<string, string>;
130130
}
131131

132132
// @public (undocumented)
@@ -147,8 +147,6 @@ export class LocalizationPlugin implements WebpackPluginInstance {
147147
getPlaceholder(localizedFileKey: string, stringName: string): _IStringPlaceholder | undefined;
148148
// @internal (undocumented)
149149
readonly _options: ILocalizationPluginOptions;
150-
// (undocumented)
151-
readonly stringKeys: Map<string, _IStringPlaceholder>;
152150
}
153151

154152
// @public (undocumented)

0 commit comments

Comments
 (0)