When bundling multiple files together, you need to merge multiple
sourcemaps into one. There is support in the standard for multi-level
mappings, or you could just flatten it into a single sourcemap.
When splitting a bundle into multiple files, you will need to split the
sourcemap as well. There's no explicit support for this but it should be
possible.