Reputation: 452
If we want to deploy our NEST.js sever on the customer's environment, how can we hide our source code preventing from the plagiarism?
Upvotes: 1
Views: 1992
Reputation: 1
you can try:
Upvotes: 0
Reputation: 349
Unfortunately it is impossible to completely hide your package implementation. What you can (and should) do is using Webpack to create a bundle and minify your exported code. With that, it is pretty hard for someone to reverse engineer your code, but it is still doable.
Since Javascript is not compiled to binary, the executable of your code will always be Javascript, therefore it could be reverse engineered.
Upvotes: 0