Skip to content

Support multiple files with CLI #90

@benoitchantre

Description

@benoitchantre

Would it be possible to support multiple files as input / output using the CLI?

PostCSS and ESbuild allow to use a glob pattern for the input and have arguments to set the output directory and extension.

Examples:

  • postcss src/**/*.css --base src --dir dist/css --ext .min.css
  • esbuild src/**/*.js --bundle --outdir=dist/JS --out-extension:.js=.min.js

A similar solution would be very useful as many projects have more than one stylesheet.

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