Skip to content

Use browserslist entry in package.json with lightningcss-cli #293

@makkabi

Description

@makkabi

When using the lightningcss-cli, the only way to provide a browserslist target seems to be the --target option, while the browserslist entry in package.json (and also a .browserslistrc file) is beeing ignored. This means having to duplicate the browserslist target, but it would be much nicer if the lightningcss-cli would use the single definition in package.json like many other tools. The --target option could override the entry in package.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions