webpack-obfuscator icon indicating copy to clipboard operation
webpack-obfuscator copied to clipboard

implementation of webpack-obfuscator

Open DietmarSch opened this issue 3 years ago • 1 comments

I have a js-react project with a lot of files, folders and subfolders. I have installed javascript-obfuscator and webpack-obfuscator, but I have no idea how to implement it into my code.

I have an index.js which renders the main components into the html-file.

Your readme.md has two examples : the rules-Array and the objects entry, output and plugins.

What is to do with this. Shall I import them into the index.js? And then? How shall I use it.

My react-code is still shown in the browser. I want to hide it.

DietmarSch avatar Jan 16 '22 22:01 DietmarSch

Usually we add the webpack-obfuscator into webpack.config.js file, could you post the content of that file in your project first?

bangank36 avatar Feb 24 '23 13:02 bangank36