Skip to content

SourceMapDevToolPlugin conflict with cli's sourcemap #3047

@IBICF

Description

@IBICF

I want to config the sourcemap file's publicPath, so i used webpack.SourceMapDevToolPlugin, vue cli3 has his own config, that is productionSourceMap, when i set this to false, SourceMapDevToolPlugin didn't output the sourceMappingURL, when i set this to true, it outputs two sourceMappingURL, one is the path i configed, one is relativePath like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions