v3.26.4
The loader was using url.includes('.tsx?') which matches '.ts?' due to
regex interpretation (x? means x is optional). This caused ALL TypeScript
files to be processed by the TSX loader instead of the regular TS loader.
Fixed by checking the actual file extension instead of pattern matching
in the URL string.