babel-plugin-react-remove-properties and babel-plugin-transform-react-remove-prop-types equivalents? #4248
-
I'm porting a few libraries from using Babel to SWC for compilation before publishing to npm and I'm wondering if there are any viable replacements for babel-plugin-react-remove-properties and babel-plugin-transform-react-remove-prop-types? I use a good amount of Is there any way to solve these two issues using SWC? I've tried to search for this topic multiple times over the last few days and could not find an answer so I finally broke down and wrote this :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I recall I wrote a custom proof of concept plugin for one of these at my prev. work. It's under private repo and I do not have the code anymore though. I would say as same as babel |
Beta Was this translation helpful? Give feedback.
I recall I wrote a custom proof of concept plugin for one of these at my prev. work. It's under private repo and I do not have the code anymore though. I would say as same as babel
plugin
does, writing a new plugin (#3540) would be ideal way to go.