Skip to content
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

Add implementation. #3

Merged
merged 1 commit into from
Jun 28, 2018
Merged

Add implementation. #3

merged 1 commit into from
Jun 28, 2018

Conversation

coreyfarrell
Copy link
Contributor

This implements, tests and documents this module. If you don't like the API decision I made I can change it so this module exports a .load and .remove, personally I think an off by default option for clearing the existing sourcesContent makes sense. I found myself here because I need to mapSources to paths that are valid from the web but do not exist on the filesystem, this caused gulpSourcemaps.write to load sourcesContent with a bunch of null values. I've already verified that using this module before mapSources produces a correct/complete sourcemap without modifying gulp-sourcemap as long as the includeContent option doesn't conflict.

Fixes #1, Fixes #2

Fixes #1, Fixes #2
@phated
Copy link
Contributor

phated commented Jun 22, 2018

@coreyfarrell this is awesome! I don't have much time to look at this right now but I'll try to squeeze some time in to review and bring this in this upcoming week (might find a chance this weekend?).

@phated phated merged commit caf5a96 into gulp-sourcemaps:master Jun 28, 2018
@phated
Copy link
Contributor

phated commented Jun 28, 2018

Thanks @coreyfarrell!!! Again, this is awesome. I'm going to make some small changes before I publish as 1.0.0

phated pushed a commit that referenced this pull request Jun 28, 2018
@phated
Copy link
Contributor

phated commented Jun 28, 2018

1.0.0 published at https://www.npmjs.com/package/@gulp-sourcemaps/sources-content

This was great work - would you be interested in becoming a gulp-sourcemaps contributor? There was a lot of work planned to refactor the monolithic plugin into smaller ones like this but I don't have enough time in the day.

@coreyfarrell
Copy link
Contributor Author

Thanks for merging and publishing. Sure I use gulp-sourcemaps so I'll help as I can.

@phated
Copy link
Contributor

phated commented Jun 28, 2018

Awesome, invite sent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants