SukkaW / rollup-plugin-swc

Use SWC with Rollup to transform / minify ESNext and TypeScript code.
MIT License
146 stars 15 forks source link

Reading `.swcrc` automatically? #62

Open Phryxia opened 5 months ago

Phryxia commented 5 months ago

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?

SukkaW commented 5 months ago

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

Phryxia commented 5 months ago

@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.