in builtin formatter moduleNotFound
|
return module.startsWith('./') || module.startsWith('../'); |
module here may be undefined in some case
e.g.
function loadPage( path ) {
return () => import( `@/pages/${ path }.vue` )
}
if alias @ is not set in webpack, it will throw module not found error, but friendly-errors-webpack-plugin didn't catch the error, and all errors will be swallowed