Lead Developer: Adobe Experience Manager.
Father of one.
Minnesota.
Occasionally write here: ahmedmusallam.com and there: https://blogs.perficientdigital.com/author/amusallam/
Lead Developer: Adobe Experience Manager.
Father of one.
Minnesota.
Occasionally write here: ahmedmusallam.com and there: https://blogs.perficientdigital.com/author/amusallam/
Lead Developer: Adobe Experience Manager.
Father of one.
Minnesota.
Occasionally write here: ahmedmusallam.com and there: https://blogs.perficientdigital.com/author/amusallam/
What stops you from just using terser(maintained fork of uglify-es) in the browser?
It looks to me, on the surface, that it depends on NodeJs APIs and those APIs are not available in the browser.
Not at all. How are you developing your browser app?
The documentation literally mentiones nodejs. Do you have an example in a jsfiddle or jsbin or something similar?
My app will be developed in vanillajs. So no libraries and nothing fancy.
What is the build process? How do you bundle your app? (Parcel|Webpack|Rollup|Browserify)
Bonus Prettier for the lulz
click it just click it do not be afraid just click it
I was not really planning to use a bundler. Wanted to go vanilla and with no build/npm. But it looks like I have to, which is not a big deal at all.
Thank you for the example! Extremely helpful!!