From 91353dba15d4dadee25f222086996776583a8474 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Wed, 9 Jan 2019 21:48:23 +0100 Subject: [PATCH] docs: improve description for the webpack externals config in build script --- gulp/tasks/javascript.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gulp/tasks/javascript.js b/gulp/tasks/javascript.js index e3d2b8e1f..2436b9642 100644 --- a/gulp/tasks/javascript.js +++ b/gulp/tasks/javascript.js @@ -21,10 +21,10 @@ var CONFIG = require('../config.js'); // This tells webpack that the modules imported with the listed paths should not // be included in the build but will be provided later from an external source. // -// `umdExternals` generates for each module a configuration object with the -// given external source path/object to indicate to all import solutions where -// to retrieve the module. "root" is the global variable name to use in -// module-less environments (or in the namespace if given). +// `umdExternals` is used to generate the webpack "externals" configuration: +// an object indicating to different module tools under which name our modules +// are declared. "root" is the global variable name to use in module-less +// environments (or in the namespace if given). // // See https://webpack.js.org/configuration/externals/#externals // -- 2.47.2