Skip to content

Is the argument to generated createComment() calls ever used? #247

@kzc

Description

@kzc

Generated code appears to use comments as anchors, but is the text of the comment ever used at runtime?

	var eachBlock_anchor = createComment( "#each allComments" );

Unless I'm mistaken only the comment object itself has to exist for Svelte functionality to work. Not including the comment text would save a few bytes in the bundle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions