I have a front-end react library packed and published by rollup.js. I want to make this nodejs module not accessible by other teams if they don’t pay, but I can’t limit users from downloading this module from Nexus.
How can I achieve this aim? I wondered if there is a way that I can encrypt the built module through rollup.js and have a key, only those who paid can have a key to decode in the webpack or sth. Any suggestions?