]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: improve docs for the root namespace in build script
authorNicolas Coden <nicolas@ncoden.fr>
Wed, 9 Jan 2019 21:01:11 +0000 (22:01 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Wed, 9 Jan 2019 21:02:04 +0000 (22:02 +0100)
gulp/tasks/javascript.js

index 2436b964256d8a3645dd14c7e9e65ed608902995..c35860244cda5ef4862cfb581530cc68e450fca8 100644 (file)
@@ -58,8 +58,8 @@ var webpackExternalPlugins = Object.assign(
 );
 
 // The webpack "output" configuration for UMD modules.
-// Makes the modules be exported as UMD modules and within this global
-// variable in module-less environments.
+// Makes the modules being exported as UMD modules. In module-less environments,
+// modules will be stored in the global variable defined by JS_BUNDLE_NAMESPACE.
 var webpackOutputAsExternal = {
   library: [CONFIG.JS_BUNDLE_NAMESPACE, '[name]'],
   libraryTarget: 'umd',