New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emits ranges along side the data stream #3

Closed
wants to merge 2 commits into
base: master
from

Conversation

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

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)
@thlorenz

This comment has been minimized.

Show comment
Hide comment
@thlorenz

thlorenz Mar 5, 2013

Contributor

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

Contributor

thlorenz commented Mar 5, 2013

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

@thlorenz

This comment has been minimized.

Show comment
Hide comment
@thlorenz

thlorenz Mar 5, 2013

Contributor

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

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