What is the name of JS aggregator?

I’m referring to the one that aggregates JS when running ./launcher rebuild app. Thanks : )

1 Like

I am guessing you are asking about uglifyjs or sprockets.

2 Likes

Thanks Sam. : ) To add more detail to my question, I was wondering what renames / aggregates JS into file names like these:

plugins/discourse-presence-681639df7899cc543671cda6e023b4adbd5d80f2769230c76f4962eab6d20dc1.js

It looks like the uglify step comes later in the process, so is that sprockets?

1 Like

Yes, that is sprockets, the digest appended to the filename is a fingerprint, it helps with invalidating caches when rebuilding (a file with changes will have a new digest on rebuild).

4 Likes