Skip to content

Commit 757bd25

Browse files
committed
remove destructure
1 parent acb6685 commit 757bd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export function pitch(request) {
201201
}
202202

203203
const count = identifierCountMap.get(dependency.identifier) || 0;
204-
const { CssDependency } = MiniCssExtractPlugin.getCssDependency(webpack)
204+
const CssDependency = MiniCssExtractPlugin.getCssDependency(webpack);
205205

206206
if (!CssDependency) {
207207
throw new Error(

0 commit comments

Comments
 (0)