bundlesPath
config.bundlesPath
{String}
A configuration property for setting the path of where the production bundles folder is located.
{String}
A configuration property for setting the path of where the production bundles folder is located.
Use
In production, the main module will be assumed to be within a "bundles/[MAIN_MODULE_NAME]" module. For example, if the main module is
myapp
, abundles/myapp
module is automatically configured to contain it:bundlesPath
tells the client where all bundles can be found by configuring paths. For example, if bundlesPath is set topackages
:Often,
bundlesPath
should be the same value as what's passed in build. IfbundlesPath
is not set, it will set the default bundles paths:If a path rule for
paths["bundles/*"]
orpaths["bundles/*.css"]
exist,bundlesPath
will not overwrite them.