rules_swc
rules_swc copied to clipboard
add typeonly example with crashing swcrc
Crashes today, see https://github.com/swc-project/swc/issues/7822
Did you find a way to resolve this issue? I still have it :(
@Zemnmez sorry I never saw your message until checking in on this issue just now.
it looks like it was fixed in https://github.com/swc-project/swc/commit/4630426d6aa77af992787456e476b8862c25a45e, although not released yet.
To workaround it you can just add a comment so the compiled .js file is not empty. I normally just do:
// Comment to workaround https://github.com/swc-project/swc/issues/7822
This was fixed a long time ago