8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0186908 commit b365b1fCopy full SHA for b365b1f
webpack/localization-plugin/src/LocalizationPlugin.ts
@@ -646,7 +646,8 @@ export class LocalizationPlugin implements Webpack.Plugin {
646
}
647
648
649
- if (!chunkHasAnyLocModules) {
+ // Check async chunks if this is a runtime chunk and we haven't directly found any localized modules
650
+ if (chunk.hasRuntime() && !chunkHasAnyLocModules) {
651
for (const asyncChunk of chunk.getAllAsyncChunks()) {
652
if (this._chunkHasLocalizedModules(asyncChunk)) {
653
chunkHasAnyLocModules = true;
0 commit comments