set_esbuild: Setup esbuild

View source: R/utils.R

set_esbuildR Documentation

Setup esbuild

Description

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.


RinteRface/charpente documentation built on July 21, 2024, 9:28 a.m.