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