Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Only transform 'this'->'undefined' and inject 'use strict' if module statements are present #6280
This is a step toward #6242 that I think we can all agree on no matter what. This brings Babel more in line with "unambiguous" behavior, which ideally will change to just checking
This at least makes it so we don't 100% break CommonJS modules if Babel is run on them.