Skip to content

Conversation

LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented Apr 29, 2019

When using Typescript, the webpack resolve options should prefer ts? file extensions over js? ones.

Strictly speaking, this is a breaking change, so we can ship this with v4 I think.

close #3898

@LinusBorg LinusBorg changed the title prefer ts files over js prefer .tsx? files over .jsx? file extensions Apr 29, 2019
@LinusBorg LinusBorg marked this pull request as ready for review May 3, 2019 08:27
@LinusBorg
Copy link
Member Author

@sodatea I think this is a small optimization that we can still add to v4, no?

@LinusBorg LinusBorg requested a review from haoqunjiang May 3, 2019 08:28
@haoqunjiang
Copy link
Member

Yeah I think so

@haoqunjiang haoqunjiang changed the title prefer .tsx? files over .jsx? file extensions chore: prefer .tsx? files over .jsx? file extensions May 3, 2019
@haoqunjiang haoqunjiang merged commit 0c635af into dev May 3, 2019
haoqunjiang pushed a commit that referenced this pull request May 25, 2019
haoqunjiang added a commit that referenced this pull request May 25, 2019
@LinusBorg LinusBorg deleted the LinusBorg-patch-1 branch July 28, 2019 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment