Skip to content

Commented code is being exposed in final code exposed by esm.sh #1240

@brandonmcconnell

Description

@brandonmcconnell

While troubleshooting a project I'm working on, I commented out some of the code and did a new prerelease of my package @toolwind/[email protected], but I still see the same behavior.

Upon further investigation, I see the commented code is still present in the esm.sh, even though it should be omitted/commented.
Example: {modifiers:"any"}

https://esm.sh/@toolwind/[email protected]/es2022/corner-shape.mjs

Image

https://github.com/toolwind/corner-shape/blob/864d425c272d6ad08633ac10182af8470cdac51d/index.ts#L45-L70

Image

https://play.tailwindcss.com/KDkdxXv5aD?file=css

Image

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