Any examples on how to do this properly would be greatly appreciated. From
reading the spec it seems impossible, but I would love to be proven wrong!
Just to be clear: I have a bundle.css and bundle.js which I both want to
On Tue, Oct 21, 2014 at 3:02 AM, John Lenz wrote:
> A reverse index map would be fairly simple to do.
> On Oct 20, 2014 10:01 AM, "Brian Slesinsky" wrote:
>> 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
>> On Mon, Oct 20, 2014 at 9:48 AM, Sander Spies
>> > Is it even possible to reference to a sourcemap file from another
>> > sourcemap? I looked for it, but couldn't find anything.
>> > I think what you want/need to do is to create one source map for each
>> > output file.
>> > Conrad
>> > On Sun, Oct 19, 2014 at 11:42 PM, wrote:
>> > > Currently I'm building a library called React Style which allows you
>> > specific).
>> > > For this library I want to combine everything in a bundled JS and
>> > > CSS file at build time, and with source maps I want to wrap everything
>> > back
>> > > into separate files again that combine both CSS and JS. If I'm correct
>> > this
>> > > not possible with the V3 spec of source maps as it's only possible to
>> > use 1
>> > > files as input for a source-map.
>> > >
>> > > It would be great if there was support for many-to-many, instead of
>> > > one-to-many. And preferably possible to mix CSS, JS, and even HTML.
>> > >
>> > > I'm not sure what the current status of the spec is, and if there is
>> > > a V4 already - which might support what I want.
>> > > _______________________________________________
>> > > dev-js-sourcemap mailing list
>> > > email@example.com
>> > > https://lists.mozilla.org/listinfo/dev-js-sourcemap
>> > >
>> > _______________________________________________
>> > dev-js-sourcemap mailing list
>> > firstname.lastname@example.org
>> > https://lists.mozilla.org/listinfo/dev-js-sourcemap
>> dev-js-sourcemap mailing list