filemanager-webpack-plugin
filemanager-webpack-plugin copied to clipboard
option to not swallow errors
Would it be possible to add an option to throw the error being logged? Or change the exit code so that it doesn't return a 0 and appear successful?
https://github.com/gregnb/filemanager-webpack-plugin/blob/35f62bcef3af20b4d85b53f400b097e71ddc03e2/src/actions/copy.js#L56
I would prefer to do it webpack way if possible.
For example to fail a compilation, you would do
compilation.push(error)
which causes the compilation to fail. I am not sure if something like this exists for compiler.