mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 09:05:16 +08:00

The changes in e1d27400f5d8be345383b52bd118e652724a517e slightly changed the sourcemap paths of our workbox assets. The sourcemaps now have the extension `.prod.map` instead of `prod.js.map`. However, since the version number of workbox didn't change, the directory digest remained the same, and so cached versions of the JS were pointing to the now-nonexistant map files. This commit introduces a cachebusting constant which we can bump for these kinds of changes in future.