We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4699c0 commit 01b02e6Copy full SHA for 01b02e6
lib/Dependency.js
@@ -10,6 +10,7 @@ const DependencyReference = require("./dependencies/DependencyReference");
10
class Dependency {
11
constructor() {
12
this.module = null;
13
+ // TODO remove in webpack 5
14
this.weak = false;
15
this.optional = false;
16
this.loc = undefined;
lib/FlagDependencyUsagePlugin.js
@@ -72,6 +72,7 @@ class FlagDependencyUsagePlugin {
72
};
73
74
const processDependency = dep => {
75
+ // TODO remove dep.getReference existance check in webpack 5
76
const reference = dep.getReference && dep.getReference();
77
if (!reference) return;
78
const module = reference.module;
0 commit comments