framework icon indicating copy to clipboard operation
framework copied to clipboard

annotate local paths

Open Fil opened this issue 4 months ago • 0 comments

paths to local files in transpiled JavaScript modules are postfixed with a comment

For example, when building the documentation, we now have in docs/.observablehq/dist/_import/chart.95e875cf.js

path: "../_file/lib/gistemp.08e51068.csv"/* observablehq-file */,

in lieu of

path: "../_file/lib/gistemp.08e51068.csv",

The annotate.js scripts lists a few cases that can be annotated.

Fil avatar Oct 08 '24 15:10 Fil