Welcome! Please see the About page for a little more info on how this works.
Hi everyone, I have a Firefox addon written cljs with advanced optimization, after submit to addons, the reviews tell me that the zip file I submit is different from what they built from source.
I use diff-so-fancy to compare the generated js file, and I found the main difference are variable names.
So is there any way to ensure generated js are reproducible?
PS: My project source code is here: https://github.com/jiacai2050/gooreplacer/blob/firefox/cljs-src/project.clj#L76
A couple of years ago, I had a similar question (only in my case it was for better caching) and at least back then the answer was "no". But you might try to build with the optimizations set to simple. It also does some renaming but I think it's stable. If that doesn't work, whitespace should.
simple
whitespace