react-scan
react-scan copied to clipboard
React-scan monitoring with rspack fails
React-scan monitoring with RSPack fails with TypeError: ReactComponentName is not a function
RSPack version - 0.5.1 (this is not the latest one, could it be the reason?)
Usage (as suggested)
...
const ReactComponentName = require('react-scan/react-component-name/rspack')
...
const config = {
...
plugins: [
...
ReactComponentName({}),
...
]
}
module.exports = config