Next.js Discord

Discord Forum

Code obfuscation

Answered
Shayokh posted this in #help-forum
Open in Discord
Hello. I am thinking of obfuscating my codebase before uploading to my server. Is there any way / command to do that In NextJs?
Answered by B33fb0n3
your code will be mostly minified and compressed and splitted into different files. When obfuscating your code, the code may not work like expected anymore. Attached you can see an example
View full answer

3 Replies

@Shayokh Hello. I am thinking of obfuscating my codebase before uploading to my server. Is there any way / command to do that In NextJs?
your code will be mostly minified and compressed and splitted into different files. When obfuscating your code, the code may not work like expected anymore. Attached you can see an example
Answer
happy to help