Skip to content

Import and export of assets in bundleless outputs #230

@Timeless0911

Description

@Timeless0911

What problem does this feature solve?

Rslib now process assets by loader, thus the asset import now are not preserved in both bundle and bundleless mode, which may make outputs unusable.
image

What does the proposed API look like?

Modern.js module process and emit assets on its own, the output preserve the import sentence.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions