Skip to content

Cannot disable webpack error overlay #1741

@octref

Description

@octref

Version

3.0.0-rc.3

Reproduction link

https://github.com/octref/disable-overlay

Steps to reproduce

  • Observe vue.config.js tried using both chainWebpack and configureWebpack to disable dev server overlay
  • yarn serve
  • Notice the syntax error in Helloworld.vue causes browser to show error overlay

Note: If I disable overlay by manually going into https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-service/lib/commands/serve.js#L129-L131 in my node_modules, I can disable overlay. It seems vue.config.js is not read properly by vue-cli for the webpack options.

What is expected?

Error overlay is disabled

What is actually happening?

Error overlay is enabled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions