aspnet-webpack
aspnet-webpack copied to clipboard
When webpack is not installed the exception message is missleading
When you're running Kestrel and don't have webpack installed an exception is thrown with such message:
https://github.com/xabikos/aspnet-webpack/blob/eda5909e7f0d5c52de9b70280bfed106358678cc/src/Webpack/Webpack.cs#L57-L59
This is misleading. It would be better to handle those two cases separately and throw something like "WebpackNotInstalledException" when running Kestrel without webpack, and the existing exception when running on IIS.