use_loader_rule | R Documentation |
Adds a loader rule that is not yet implemented in packer.
use_loader_rule( packages, test, ..., use = as.list(packages), .name_use = "use" )
packages |
NPM packages (loaders) to install. |
test |
Test regular expression test which files should be transformed by the loader. |
... |
Any other options to pass to the rule. |
use |
Name of the loaders to use for |
.name_use |
Depending on the webpack config
one might want to change the |
Reads the srcjs/config/loaders.json
and appends the rule.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.