Anıl Anar
Anıl Anar
I believe this bug affects more than it looks, also in chromiums, but I cannot prove it.
Our [chromatic interaction tests](https://www.chromatic.com/docs/interactions) that runs in chrome (or chromium, not sure if headless or not), using storybook `play` functions, stopped working after upgrading from 14.2.1 to 14.4.3 due to...
@ph-fritsche This issue is introduced with 14.4.0 (#1003 or #1009?) and is not reproducible in 14.3.0, if that helps.
Could we revive this PR?
After I `rm tsconfig.tsbuildinfo`, it's not reproducible anymore.
I (or somebody else) could eventually make a PR to either make those checks less dependent on globalThis, or if that isn't possible for all cases, I could introduce an...
@khmyznikov I suggest you try using this package on codesandbox with react+typescript template and see why it doesn't work. You either need to adapt package.json and define multiple `exports` like...
@khmyznikov The disadvantage of your fix (using `exports`) is that it requires the relatively new `"Node16"` (or `"NodeNext"`) `moduleResolution` in `tsconfig`. Many projects don't use that new module resolution yet,...
@khmyznikov You are totally right but... Listen to me for a moment 😄 Most FE projects are single-page apps and use just a bundler like webpack or vite with ES...
BTW it seems the following will be fixed with TS 5.5 soonish: > they tried to fix that by introducing `moduleResolution: bundler` ... you cannot use async imports!