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.)
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
devtoolconfig option) --- sourcemaps will be generated for both chunks. Which makes sense, because thedevtoolconfig 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.)