Skip to content

Commit 2bc6b20

Browse files
chore: keep the new comment within two lines
1 parent ce791b7 commit 2bc6b20

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎lib/DefinePlugin.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,8 @@ const getMergedDefinitions = (compilation) => {
610610
keysByPrefix.set(prefix, [key]);
611611
}
612612
}
613-
// a nested object definition is walked separately, and an empty string
614-
// renders to no code, which an object literal cannot hold; every other
615-
// shape is a leaf this key can be destructured to, falsy ones included
613+
// a nested object is walked separately and an empty string renders to
614+
// no code; every other shape is a destructurable leaf, falsy included
616615
if (isObjectDefinition(code) || code === "") continue;
617616
const idx = key.lastIndexOf(".");
618617
if (idx <= 0 || idx >= key.length - 1) continue;

0 commit comments

Comments
 (0)