Skip to content

Commit b7b32b1

Browse files
style(config): hold the library-type comment to two lines
1 parent 9bfbbf1 commit b7b32b1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎lib/config/defaults.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,9 +1667,8 @@ const applyOutputDefaults = (
16671667
/** @type {LibraryType[]} */
16681668
const types = [];
16691669
if (output.library && output.library.type) types.push(output.library.type);
1670-
// A plugin declaring its own library (`ModuleFederationPlugin`) is applied
1671-
// before the defaults and has pushed its type here already. `"..."` is the
1672-
// extend placeholder `A` resolves later, never a type of its own.
1670+
// A plugin (`ModuleFederationPlugin`) pushed its type here before the defaults;
1671+
// `"..."` is the extend placeholder `A` resolves, never a type of its own.
16731672
if (output.enabledLibraryTypes) {
16741673
for (const type of output.enabledLibraryTypes) {
16751674
if (type !== "...") types.push(type);

0 commit comments

Comments
 (0)