// `modules` is a map of filenames to require()'d components from those files
})
// don't forget to handle errors!
.catch(handleError);
Options
Property
Description
include
string
or
array
of
minimatch
patterns. A file in the path(s) that match at least one pattern will be
require(...)
'd unless the file also matches an exclusion pattern. Default:
['**/*.js', '**/*.json']
.
exclude
string
or
array
of
minimatch
patterns. Files in the path(s) that match at least one pattern will be excluded. Default:
['**/*Spec.js']
.