| bundle {packer} | R Documentation |
bundle & Watch
Description
Bundle and watch the JavaScript.
Usage
bundle(mode = c("production", "development", "none"))
bundle_prod()
bundle_dev()
watch()
Arguments
mode |
The configuration mode tells webpack to use its built-in optimisations accordingly. |
Functions
-
bundle()- bundle the project. -
bundle_prod()- bundle the project optimising production, equivalent tobundle("production")andnpm run production. -
bundle_dev()- bundle the project including debugging developer tools, equivalent tobundle("development")andnpm run development. -
watch()- watches for changes in thesrcjsand rebuilds if necessary, equivalent tonpm run watch.
[Package packer version 0.1.3 Index]