Skip to content

Remove require name collision check for ES6 modules and later#10932

Merged
mhegazy merged 1 commit into
masterfrom
removeRequireNameColisionCheck
Sep 27, 2016
Merged

Remove require name collision check for ES6 modules and later#10932
mhegazy merged 1 commit into
masterfrom
removeRequireNameColisionCheck

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Sep 15, 2016

Ran across this while looking into #10931. We issue an error if you use a top-level declaration with the name require or exports even if the emitter is not going to write them to the output. this change relaxes the restriction for --module ES6 and later.

@mhegazy mhegazy merged commit f7c7c00 into master Sep 27, 2016
@mhegazy mhegazy deleted the removeRequireNameColisionCheck branch September 27, 2016 22:06
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants