nx-plugins
nx-plugins copied to clipboard
[esbuild-plugin-copy] Feature request: throw when no files matched
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!