Skip to content

Commit

Permalink
remove destructure
Browse files Browse the repository at this point in the history
  • Loading branch information
barak007 committed Feb 19, 2021
1 parent acb6685 commit 757bd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader.js
Expand Up @@ -201,7 +201,7 @@ export function pitch(request) {
}

const count = identifierCountMap.get(dependency.identifier) || 0;
const { CssDependency } = MiniCssExtractPlugin.getCssDependency(webpack)
const CssDependency = MiniCssExtractPlugin.getCssDependency(webpack);

if (!CssDependency) {
throw new Error(
Expand Down

0 comments on commit 757bd25

Please sign in to comment.