Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

module is undefined #101

Open
Open
@fengzilong

Description

@fengzilong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions