There was an error while loading. Please reload this page.
1 parent da36ddb commit d2add04Copy full SHA for d2add04
1 file changed
lib/WebpackOptionsApply.js
@@ -220,8 +220,8 @@ class WebpackOptionsApply extends OptionsApply {
220
) {
221
return callback();
222
}
223
- // The external keeps the original request, so `resolve.alias` pointing
224
- // at another package must stay bundled to not load the unaliased one.
+ // The external keeps the original request, so requests that
+ // `resolve.alias` sends to another package must stay bundled.
225
const resolvedPath = result.split(NODE_MODULES).pop();
226
const resolvedPackageName = getPackageName(
227
/** @type {string} */ (resolvedPath).replace(/\\/g, "/")
0 commit comments