From 629d46bd91ac8d848da84030cc2906f08c92ff98 Mon Sep 17 00:00:00 2001 From: CyanSalt Date: Mon, 28 Feb 2022 12:52:49 +0800 Subject: [PATCH] feat: lookup ids start with `./` --- lib/ContainerReferencePlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ContainerReferencePlugin.js b/lib/ContainerReferencePlugin.js index 3643dd6..fc30c32 100644 --- a/lib/ContainerReferencePlugin.js +++ b/lib/ContainerReferencePlugin.js @@ -62,7 +62,7 @@ class ContainerReferencePlugin { new RemoteModule( data.request, config.external, - data.request.slice(key.length + 1), + `.${data.request.slice(key.length)}`, remoteType, lazyOnce, ),