title: use webpack ant typescript to compile react ,failled
body: <p>I use webpack typescript to compile react tsx fille but get some error</p>
  
  <p><img src="https://i.stack.imgur.com/bCX6P.png" alt="enter image description here"></p>
  
  <p>webpack base config like this</p>
  
  <p><img src="https://i.stack.imgur.com/yf43J.png" alt="enter image description here"></p>