Skip to content

remove /_file/? #203

@Fil

Description

@Fil

Having a /_file/ directory for the file attachments adds complexity https://github.com/observablehq/cli/blob/83ae9c2d5a0442550803ac7cf43cfac70228a384/src/files.ts#L21
and adds an indirection between the structure of docs/ and the structure of dist/.

If it's not a requirement for us or the platform, I'd suggest we remove this, and serve the files at their "natural" place. We might want instead to detect conflicts between FileAttachement("page.html") and page.md, and error.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions