Implement dependency bundling

Open
#256 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
css, javascript, r
Domain
tooling, web-dev

Research direction

Start by reading renderTags(), the ui object, and the htmlDependency objects to understand how dependencies are currently retrieved. Clarify the proposed global-option behavior and define what bundled JS/CSS output should count as done before choosing an implementation approach.

Written by the indexing model from the issue text.

Description

From @jcheng5:

We don't have a direct way to bundle JS/CSS resources today. I wonder if it'd be possible to compute on the ui object; retrieving all the htmlDependency objects and writing R code to combine them all

Perhaps this could be specified as an argument to renderTags(), which would listen to a global option.

Dominant language
R
Stars
225
Forks
73
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rstudio/htmltools

All issues in rstudio/htmltools

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.