Skip to content

Apply sourcemap to only one chunk #650

Description

@davidtheclark

If I follow the directions from the the canonical example for app-vendor splitting, and I want to apply sourcemaps to my app bundle (via the devtool config option) --- sourcemaps will be generated for both chunks. Which makes sense, because the devtool config option is not chunk-specific.

The problem with this is that the vendor file can get pretty big, and its gigantic sourcemap then severely slows down dev tool initialization on page reload. I would much prefer to only have a sourcemap for my app chunk (and not to have a sourcemap for my vendor chunk).

As far as a I can tell there is no way to do this now. But I think it would be nice. (So I suppose this issue is either a question or a feature request, depending on whether there is already a way that I just don't know about.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions