davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3.11k stars 267 forks source link

Properly override module in tsconfig build #337

Closed davidhu2000 closed 3 years ago

davidhu2000 commented 3 years ago

the compiler option was not overriding properly, so the outputted files are es2015 (with import syntax) vs commonjs (with require syntax. This could cause similar issues like #74.

Now the tsconfig module field will properly override during build phase.