Skip to content

Skips over comment-only files #259

@jamiebuilds

Description

@jamiebuilds

Currently, a file containing only comments:

// what a nice comment

Is compiled into:

"use strict";

But it should be:

"use strict";
// what a nice comment

Because sprockets has "comment directives" which mean some files will have only comments.

Thanks @josh for bringing this to our attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions