Question

What kind of wrapper does Facebook use?

While I was packing a react application with Webpack, I noticed that the code was readable in the product environment and I started looking for something different.

I saw an obfuscated code similar to this in the static folder of Instagram. How can I do that?


__d(function(g,r,i,a,m,e,d){m.exports=function(n){ .... }
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

I am not 100% sure about the exact wrapper that they use, but there is a really great blog post on their official site regarding the tech stack that they are using for the new Facebook.com.

You can take a look at it here:

https://engineering.fb.com/2020/05/08/web/facebook-redesign/

Regards, Bobby