Adds a loader rule that is not yet implemened 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.
Dependending on the webpack config
one might want to change the use to loader or loaders.
Reads the srcsjs/config/loaders.json and appends the rule.