pkgs icon indicating copy to clipboard operation
pkgs copied to clipboard

Add more CLI option shortcuts

Open caribou-code opened this issue 9 months ago • 0 comments

I'm finding SWC CLI commands can get very long, which is awkward when they're defined in a package.json script such as:

"scripts": {
  "swc": "swc src -d dist --strip-leading-paths --delete-dir-on-start",
}

It would be great to have shortcuts for at least the 2 longer flags above. Could be an acronym to avoid using up options that might be useful elsewhere. e.g.

swc src -d dist -slp -ddon

I'm happy to put in a PR for this but wanted to check opinions first.

caribou-code avatar May 24 '24 15:05 caribou-code