Skip to content

Commit c81e6ac

Browse files
chore: fix lint
1 parent 166be34 commit c81e6ac

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/index.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,11 @@ class MiniCssExtractPlugin {
11591159

11601160
if (failedDeps.length === 0) {
11611161
// use this module and remove it from list
1162-
usedModules.add(/** @type {Module & { content: Buffer, media: string, sourceMap?: Buffer, supports?: string, layer?: string }} */ (list.pop()));
1162+
usedModules.add(
1163+
/** @type {Module & { content: Buffer, media: string, sourceMap?: Buffer, supports?: string, layer?: string }} */ (
1164+
list.pop()
1165+
)
1166+
);
11631167
success = true;
11641168
break;
11651169
}
@@ -1223,12 +1227,16 @@ class MiniCssExtractPlugin {
12231227
);
12241228
}
12251229

1226-
usedModules.add(/** @type {Module & { content: Buffer, media: string, sourceMap?: Buffer, supports?: string, layer?: string }} */ (fallbackModule));
1230+
usedModules.add(
1231+
/** @type {Module & { content: Buffer, media: string, sourceMap?: Buffer, supports?: string, layer?: string }} */ (
1232+
fallbackModule
1233+
)
1234+
);
12271235
}
12281236
}
12291237

12301238
this._sortedModulesCache.set(chunk, usedModules);
1231-
1239+
12321240
return usedModules;
12331241
}
12341242

src/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,4 +486,4 @@ function pitch(request) {
486486
});
487487
}
488488

489-
module.exports = { default: function loader() {}, pitch }
489+
module.exports = { default: function loader() {}, pitch };

0 commit comments

Comments
 (0)