nx-plugins icon indicating copy to clipboard operation
nx-plugins copied to clipboard

[esbuild-plugin-copy] Feature request: throw when no files matched

Open devm33 opened this issue 2 years ago • 0 comments

Hello, currently if an input to path is incorrect the only notification is a log if verbose is enabled. It'd be great to have a setting to error in this case to highlight that something is wrong

https://github.com/LinbuduLab/esbuild-plugins/blob/e5a8479de05976bdb770228919aabc0d96b430d6/packages/esbuild-plugin-copy/src/lib/esbuild-plugin-copy.ts#L130-L139

Let me know if you'd be open to a PR for this.

Thanks for the plugin!

devm33 avatar Sep 26 '23 03:09 devm33