rules_swc icon indicating copy to clipboard operation
rules_swc copied to clipboard

add typeonly example with crashing swcrc

Open jbedard opened this issue 1 year ago • 3 comments

Crashes today, see https://github.com/swc-project/swc/issues/7822

jbedard avatar Aug 16 '23 19:08 jbedard

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 16 '23 19:08 CLAassistant

Did you find a way to resolve this issue? I still have it :(

Zemnmez avatar Nov 27 '23 04:11 Zemnmez

@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

jbedard avatar Jan 30 '24 19:01 jbedard

This was fixed a long time ago

jbedard avatar Sep 04 '24 08:09 jbedard