I am working on supporting my app for checkout extensibility by creating web app pixel. I have bunch of JS files logic written, literally they are very large in size (in MBs) for analytics, marketing and advertising purpose.
Questions
- Is there any size limit of web pixel JS?
- If yes, does web pixel bundler (esbuild) minifies and then deploy the pixel on the client’s shopify store?
- If not, do I have the flexibility/control to enable minification of the web pixel JS to reduce the size of web pixel and optimize the speed of the site loading?