Rewrite lwc purge