Skip to content

Provide "browser" entry for @babel/code-frame package #16945

@fisker

Description

@fisker

💻

  • Would you like to work on this feature?

What problem are you trying to solve?

In Prettier standalone version, we hackly remove colors and tokenize since we don't need colors in the browser, and remove them will make the bundle smaller.

It should be much easier for us if we can provide a different version without colors.

Describe the solution you'd like

Add a "browser" entry point to a simpler version

Describe alternatives you've considered

N/A

Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions