Closed joonass-visma closed 1 year ago
Do you have more details how to reproduce this issue? I tried updating the examples here to latest version and they seem to work as expected? Except that fuse-box example some ES5 compilation issue, but its different problem.
I also tried updating inferno typescript example to latest version and that is also working as expected: https://github.com/infernojs/inferno-typescript-example
How I get it:
yarn start
Hmm interesting that it fails with yarn but not with npm.
These examples don't have yarn set up, I don't know if its supposed to work but I can check
Ok, it seems yarn got confused when the package had typescript dependency defined as *
in dependencies, it somehow took the version from devDependencies. This is now fixed in v1.0.6
When trying to do webpack or rollup build with latest TypeScript v4.9.3, it results in unexpected token errors from tsx-files.
To reproduce try running f.e. the webpack example from examples folder. You will get the following error:
ts-loader claims to be compatible TypeScript: 3.6.3+ so seems like ts-plugin-inferno is the issue here?