Script files in this directory and its children will be compiled as follows:
-
Files in
libwill be concatenated alphabetically intojs/scripts.jsin the build and minified. -
The contents of
main.jswill be minified and appended tojs/scripts.js. -
Files in
vendorwill be minified but remain as separate files, e.g.js/vendor/foo.jshere will be available in minified form atjs/foo.jsin the build.
To change this behavior, see the scripts task in gulpfile.babel.js.