mirror of https://github.com/webpack/webpack.git
chore: rm useless checking
This expression always evaluates to true.
This commit is contained in:
parent
0b1e9d8e09
commit
4f3e414820
|
|
@ -195,7 +195,7 @@ module.exports = class RuntimeTemplate {
|
|||
} else if (originModule.buildMeta.strictHarmonyModule) {
|
||||
if (exportName) {
|
||||
return "/* non-default import from non-esm module */undefined";
|
||||
} else if (!exportName) {
|
||||
} else {
|
||||
if (asiSafe) {
|
||||
return `/*#__PURE__*/{ /* fake namespace object */ "default": ${importVar} }`;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue