Skip to content

Ability to export assets #987

@jollytoad

Description

@jollytoad

With the advent of import attributes, it's going to become more common to import arbitrary non-js/ts assets. And it's already possible to resolve relative file/http assets, and use Deno cache-dir to fetch and cache these (eg. from deno.land/x), but jsr doesn't allow you to export them.

Could we have support for exports (or an alternative assets maybe?) in the deno.json or jsr.json to export non-js/ts assets, which can then be fetched from jsr relative to regular modules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Needs Plan

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions