observablehq / observablehq/notebook-kit

Find asset references in a few more attributes

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
371
Forks
27
Avg merge
3h 52m
Merged PRs (30d)
1

Description

Vite tracks a few more asset references than we do; we should align our behavior, if feasible:

https://github.com/vitejs/vite/blob/8033e5bf8d3ff43995d0620490ed8739c59171dd/packages/vite/src/node/assetSource.ts#L41-L98

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.

Research direction

Start by reading Vite's packages/vite/src/node/assetSource.ts at lines 41-98, linked in the issue, and compare the asset attributes it recognizes with notebook-kit’s current behavior. Identify the corresponding asset-reference handling in this repository, then extend it where feasible and verify that the additional attributes are tracked consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.