Closed GiladShoham closed 4 years ago
fixed in 3.0.16
@qballer what about the react-typescript compiler (which was at version v3.0.17)? Is v3.0.19 the one with the fix?
@fabgallo From looking on the dependencies tab of react-typescript 3.0.19 it seems that it uses typescript 3.0.16 so it should be fine.
@GiladShoham unfortunately it seems not
The compiler is the only thing I changed (bit import bit.envs/compilers/react-typescript -c
).
If I change the version back to 3.0.1 in bit.json
it works (even if I use 3.0.17 it compiles no problem, apart for missing the SCSS files).
Update: I just saw the typescript
compiler has been updated to 3.0.20, so I guess a new react-typescript
one is on the way...?
@fabgallo Thanks for reporting this. Looks like some typo in the code. I'll ask @qballer to take a look. Can you open it as a new issue since it's not really related to the copy files issue? Thanks.
Will do soon.
Update: here it is
I think it's always better to copy files the compiler doesn't know how to handle as is to the dist files. Most of the compilers already do this. This will prevent bugs arrised from accessing assets files of the component for example (since they won't exist in the dist folder of the component).