Adds a loader rule that is not yet implemented in packer.
use_loader_rule(
packages,
test,
...,
use = as.list(packages),
.name_use = "use"
)NPM packages (loaders) to install.
Test regular expression test which files should be transformed by the loader.
Any other options to pass to the rule.
Name of the loaders to use for test.
Depending on the webpack config
one might want to change the use to loader or loaders.
Reads the srcjs/config/loaders.json and appends the rule.