Skip to content

Remove name from ModuleMetadata #59618

@srujzs

Description

@srujzs

Today, DDC emits metadata about the modules it emits, including the name, URI, library metadata, source mappings, and more.

With the new library bundle module format (which will become the only format), library bundles do not have a name associated with them. Today, we emit unused for the name:

. This will be a breaking change and downstream uses need to be refactored once we move off of all the other module formats (note that this can't happen sooner since require.js needs module names). There is support for versioning today, so we should leverage that:
class ModuleMetadataVersion {
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions