Installs esbuild for the local project
Usage
set_esbuild(light = FALSE)
Arguments
- light
Used to only install Sass plugins. This is
to workaround a breaking change in charpente where styles does
not exist in old versions.
Value
Installs esbuild in node_modules (dev scope),
if not existing, creates srcjs + srcjs/main.js andstyles + styles/main.scss,
and sets relevant files and folders in .gitignore. and .Rbuildignore.