Skip to content

Additional CLI features #52

@devongovett

Description

@devongovett

As of #44 we have a basic CLI. Currently it can minify and output to stdout or a file, but might be nice to add a few more features.

  • --targets option. Could accept a browserslist and convert them to Parcel CSS targets with browserslist-rs (see Suggestion: Consider switching to "browserslist-rs" #37).
  • --sourcemap option. Should output a source map file in addition to a css file, and add a sourceMappingUrl comment to the CSS.
  • --nesting option to enable parsing CSS nesting.
  • --css-modules option to enable CSS modules. Output a JSON file in addition to compiled CSS?
  • Ability to compile multiple files at once, either by passing file names or directories.

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