rollup-plugin-swc icon indicating copy to clipboard operation
rollup-plugin-swc copied to clipboard

Reading `.swcrc` automatically?

Open Phryxia opened this issue 1 year ago • 2 comments

Thank you for great plugin. I've used this for a long time. I wonder whether this plugin search or take care .swcrc or not. I've read your source code and found nothing about it, but still I'm not sure.

If it's not supported currently, do you have a plan for partial/full support for .swcrc?

Phryxia avatar Jan 30 '24 12:01 Phryxia

@swc/core should have read the .swcrc file automatically, but I didn't add any test cases against this.

SukkaW avatar Jan 30 '24 13:01 SukkaW

@SukkaW

@swc/core should have read the .swcrc file automatically, but I didn't add any test cases against this.

Ok, then I think considering filename would be sufficient. Is there any other option ignored by plugin except filename? If it doesn't, there is nothing to worry IMO so that close this issue. (Maybe it's better to mention that behavior in README)

Thank you for replying.

Phryxia avatar Jan 30 '24 14:01 Phryxia