Skip to content

Weird issue with source maps #2978

Open
@farzadmf

Description

@farzadmf

Version

3.1.1

Reproduction link

https://github.com/farzadmf/vue-cli-sourcemap-issue

Node and OS info

Node 11.0.0 / yarn 1.12.3 / Windows 10

Steps to reproduce

  1. Run "yarn serve" to start the application
  2. Open Chrome devtools and start searching for "HelloWorld.vue"

What is expected?

When I search for HelloWorld.vue in Chrome devtools, I should see a single file being listed, and when I open that file, I should see my actual source code there

What is actually happening?

When I search for "HelloWorld.vue", I see multiple files being listed with names such as HelloWorld.vue?e24f ... (and a few others with different hash values)


  • I developed an app a few months ago with Vue, and I don't remember having this problem; maybe I've forgotten ...!
  • The version of vue-cli I have is 3.1.3, but it's not available in the drop-down
  • My Chrome version is 70.0.3538.102

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