From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/webpack/lib/AmdMainTemplatePlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/webpack/lib/AmdMainTemplatePlugin.js') diff --git a/node_modules/webpack/lib/AmdMainTemplatePlugin.js b/node_modules/webpack/lib/AmdMainTemplatePlugin.js index 0ff688167..727f49ba3 100644 --- a/node_modules/webpack/lib/AmdMainTemplatePlugin.js +++ b/node_modules/webpack/lib/AmdMainTemplatePlugin.js @@ -17,7 +17,7 @@ class AmdMainTemplatePlugin { const mainTemplate = compilation.mainTemplate; compilation.templatesPlugin("render-with-entry", (source, chunk, hash) => { - const externals = chunk.modules.filter((m) => m.external); + const externals = chunk.getModules().filter((m) => m.external); const externalsDepsArray = JSON.stringify(externals.map((m) => typeof m.request === "object" ? m.request.amd : m.request )); -- cgit v1.2.3