Skip to content

Conversation

@zertosh
Copy link
Contributor

@zertosh zertosh commented Aug 23, 2015

Fixes #158, #179, #140 and #67.

This PR removes "amdefine" in favor of wrapping the modules in AMD wrappers during build time. This makes "source-map" friendlier to node and browserify/webpack environments – while still providing the AMDness needed for the FF devtools (I think that's why it's there 1 2). This approach carries no maintenance overhead, and should be 100% compatible with existing uses.

The problem is that then I own the entire git blame. Any solutions? Maybe leave the indentation alone?

cc: @fitzgen

@zertosh
Copy link
Contributor Author

zertosh commented Aug 23, 2015

For a better diff w/o the whitespace changes: https://github.com/mozilla/source-map/pull/202/files?w=1

@fitzgen
Copy link
Contributor

fitzgen commented Aug 27, 2015

I haven't overlooked or forgotten this PR, I just need to malloc a larger block of time to really start digging in.

@fitzgen
Copy link
Contributor

fitzgen commented Aug 28, 2015

Doing #205 instead, which avoids the blame game but should still satisfy all your needs.

@fitzgen fitzgen closed this Aug 28, 2015
@zertosh
Copy link
Contributor Author

zertosh commented Aug 28, 2015

Awesome! Thanks! Very clever solution to the indentation problem 😄

@zertosh zertosh deleted the remove-amdefine branch August 28, 2015 20:31
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