package-size icon indicating copy to clipboard operation
package-size copied to clipboard

target option is missing

Open kimulaco opened this issue 5 years ago • 2 comments

There is a --target option in the README, but it does not seem to be implemented. https://github.com/egoist/package-size/blob/master/README.md#target

package-size

Is the option already lost for --target? Or will it be implemented from now on?

kimulaco avatar Jun 04 '19 05:06 kimulaco

That's available in the API but not in the CLI, you can add it here:

https://github.com/egoist/package-size/blob/d7804a972bc5ec68167585eed8036610eb691b8c/cli.js#L126

PR welcome.

egoist avatar Jun 05 '19 10:06 egoist

I see, I'm sorry! I looked over the documentation again, but as you said it was an API only option.

I read source well again, and I will try to put out PR if necessary!

kimulaco avatar Jun 05 '19 13:06 kimulaco