Emits ranges along side the data stream #3

Closed
wants to merge 2 commits into
from

Projects

None yet

1 participant

@thlorenz
Contributor
thlorenz commented Mar 5, 2013

As outlined in the comment on this commit, these ranges are needed by other modules to generate source map data for the bundle.

thlorenz added some commits Mar 3, 2013
@thlorenz thlorenz ignoring node_modules 628d4b7
@thlorenz thlorenz duplex stream emits ranges when a row defines sourceFile field
- this does not affect emitted data and/or piping the stream
- consumers can subscribe to the 'range' event if they are interested in processing ranges in order to generate sourceMapURL data
- a range contains path to sourceFile and its location inside the bundle (start, end)
fe2eb91
@thlorenz
Contributor
thlorenz commented Mar 5, 2013

I created a working source map generator that consumes those ranges.

@thlorenz
Contributor
thlorenz commented Mar 5, 2013

Will do over with inline sourcemaps ala https://trac.webkit.org/changeset/111389.

@thlorenz thlorenz closed this Mar 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment