simple-component-library icon indicating copy to clipboard operation
simple-component-library copied to clipboard

How to include .tsx files?

Open lidaof opened this issue 6 years ago • 2 comments

How to include .tsx files? Thanks.

lidaof avatar Nov 08 '18 18:11 lidaof

I'm having the same issue. When I export a .tsx (or .ts) file, It doesn't get compiled to javascript

danydhondt avatar Jan 28 '19 11:01 danydhondt

You've probably already solved it @lidaof and @danydhondt, but for others with same problem, try adding: --extensions '.ts,.tsx' to the build script

carlbarrdahl avatar Feb 24 '20 13:02 carlbarrdahl