@swc/plugin-react-remove-properties
v6.0.2
Published
SWC plugin for https://www.npmjs.com/package/babel-plugin-react-remove-properties
Downloads
11,405
Readme
react-remove-properties
See https://nextjs.org/docs/architecture/nextjs-compiler#remove-react-properties for more information.
Config
["react-remove-properties"]
or
[
"react-remove-properties",
{
// The regexes defined here are processed in Rust so the syntax is different from
// JavaScript `RegExp`s. See https://docs.rs/regex.
"properties": ["^data-custom$"]
}
]
${CHANGELOG}